请输入您要查询的百科知识:

 

词条 Polkit
释义

  1. Implementation

  2. See also

  3. References

  4. External links

{{Infobox software
| name = Polkit
| title = polkit
| logo =
| screenshot = PolicyKit.png
| screenshot size = 300px
| caption = GNOME-based front-end, as seen in Ubuntu
| collapsible =
| author =
| developer = David Zeuthen, Red Hat
| released =
| frequently updated =
| programming language = C
| operating system = Unix-like
| platform =
| size =
| language =
| status =
| genre = Privilege authorization
| license = LGPL (free software)
| website = {{URL|http://www.freedesktop.org/wiki/Software/polkit}}
}}Polkit (formerly PolicyKit) is a component for controlling system-wide privileges in Unix-like operating systems. It provides an organized way for non-privileged processes to communicate with privileged ones. Polkit allows a level of control of centralized system policy. It is developed and maintained by David Zeuthen from Red Hat and hosted by the freedesktop.org project. It is published as free software under the terms of version 2 of the GNU Lesser General Public License.[1]

Since version 0.105, released in April 2012,[2][3] the name of the project was changed{{by whom|date=September 2017}} from PolicyKit to polkit to emphasize that the system component was rewritten[4] and that the API had changed, breaking backward compatibility.[5]{{Dubious |reason=Has been referred to as "polkit" a long time before 0.105. Needs an actual quote, not just circumstantial evidence. |date= September 2013}}

Fedora became the first distribution to include PolicyKit, and it has since been used in other distributions, including Ubuntu since version 8.04 and openSUSE since version 10.3. Some distributions, like Fedora,[6] have already switched to the rewritten polkit.

It is also possible to use polkit to execute commands with elevated privileges using the command pkexec followed by the command intended to be executed (with root permission).[7] However, it may be preferable to use sudo, as this command provides more flexibility and security, in addition to being easier to configure.[8]

Implementation

The polkitd daemon implements Polkit functionality.[9]

See also

{{Portal|Free and open-source software}}
  • Pluggable authentication module
  • Principle of least privilege
  • PackageKit

References

1. ^{{cite web |url= http://cgit.freedesktop.org/polkit/tree/COPYING |title= polkit Git COPYING |publisher= David Zeuthen |accessdate= 2012-11-15}}
2. ^{{cite web |url= http://cgit.freedesktop.org/polkit/tree/NEWS |title= polkit Git NEWS |publisher= David Zeuthen |accessdate= 2012-11-15}}
3. ^{{cite web |url= https://www.freedesktop.org/software/polkit/releases/ |title= Polkit releases |accessdate= 2018-09-01}}
4. ^{{cite web |url= http://doc.opensuse.org/documentation/html/openSUSE_113/opensuse-security/cha.security.policykit.html |title= Chapter 9. PolicyKit |work= openSUSE Security Guide |publisher= Novell, Inc. and contributors |accessdate= 2012-11-15}}
5. ^{{cite web |url= http://drfav.wordpress.com/2009/12/22/polkit-and-kde-lets-make-the-point-of-the-situation/ |title= Polkit and KDE: let's make the point of the situation |accessdate= 2012-11-15}}
6. ^{{cite web |url= https://fedoraproject.org/w/index.php?title=Features/PolicyKitOne&oldid=126848 |title= Features/PolicyKitOne |work= Fedora Project Wiki |accessdate= 2012-11-15}}
7. ^{{cite web|url= http://www.freedesktop.org/software/polkit/docs/latest/pkexec.1.html|title= pkexec|work= polkit Reference Manual|accessdate= 2013-05-25}}
8. ^{{cite web|url= http://askubuntu.com/questions/78352/when-to-use-pkexec-vs-gksu-gksudo|title= When to use pkexec vs. gksu/gksudo?|accessdate= 2013-05-25}}
9. ^{{cite book| author = Команда разработчиков BLFS| chapter = 4: Bezopasnost'| title = За пределами проекта "Linux® с нуля". Версия 7.4| trans-title = Beyond Linux from scratch| url = https://books.google.com/books?id=OWn5CQAAQBAJ| language = ru| volume = 1| location = Moscow| publisher = Litres| publication-date = 2017| page = 169| isbn = 9785457831186| access-date = 2017-09-05| quote = }}

External links

{{Commons category}}
  • polkit Home at freedesktop.org
  • Documentation at freedesktop.org
  • Why polkit explaining polkit's role in a modern system
{{Free-software-stub}}

3 : Free software programmed in C|Freedesktop.org|Unix software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 16:50:59