|Developer(s)||David Zeuthen, Red Hat|
|License||GNU Library General Public License 2|
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.
Since version 0.105, the name of the project was changed from PolicyKit to polkit to emphasize that the system component was rewritten and that the API was changed, breaking backward compatibility.[dubious ]
Fedora was 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, 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). However, it may be preferable to use sudo, as this command provides more flexibility and security, in addition to being easier to configure.
Polkit has been criticized for contravening the Unix philosophy of "doing one task and doing it well". The criticism is applied because Polkit has a primary task of restricting root processes as an "authority". A secondary (but easily mistaken for its primary) task is to provide the "authorization", allowing users to obtain temporary privileges. This criticism has been contested by Polkit's developer.
This multitask design complicates the debate about Polkit's suitability and function.
- Privilege (computing)
- Pluggable authentication module
- Root user
- Principle of least privilege
- "polkit Git COPYING". David Zeuthen. Retrieved 2012-11-15.
- "polkit Git NEWS". David Zeuthen. Retrieved 2012-11-15.
- "Chapter 9. PolicyKit". openSUSE Security Guide. Novell, Inc. and contributors. Retrieved 2012-11-15.
- "Polkit and KDE: let’s make the point of the situation". Retrieved 2012-11-15.
- "Features/PolicyKitOne". Fedora Project Wiki. Retrieved 2012-11-15.
- "pkexec". polkit Reference Manual. Retrieved 2013-05-25.
- "When to use pkexec vs. gksu/gksudo?". Retrieved 2013-05-25.
|This free software–related article is a stub. You can help Wikipedia by expanding it.|