Polkit

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
polkit
PolicyKit.png
GNOME-based front-end, as seen in Ubuntu.
Developer(s) David Zeuthen, Red Hat
Written in C
Operating system Unix-like
Type Privilege authorization
License LGPL (free software)
Website www.freedesktop.org/wiki/Software/polkit
KDE-based front-end.

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 Library General Public License.[1]

Since version 0.105,[2] the name of the project was changed from PolicyKit to polkit to emphasize that the system component was rewritten[3] and that the API was changed, breaking backward compatibility.[4][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,[5] 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).[6] However, it may be preferable to use sudo, as this command provides more flexibility and security, in addition to being easier to configure.[7]


polkit is included by default in some Linux distributions, but not all

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.

External links

<templatestyles src="Asbox/styles.css"></templatestyles>