Polkit

polkit
DevelopersDavid Zeuthen, Red Hat
Initial release0.3 
Stable release
126  / 13 January 2025 (13 January 2025)
Written inC
Operating systemLinux, Unix-like
TypePrivilege authorization
LicenseLGPL (free software)
Websitegithub.com/polkit-org/polkit
Repository

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.

Since version 0.105, released in April 2012, the name of the project was changed from PolicyKit to polkit to emphasize that the system component was rewritten and that the application programming interface had changed, breaking backward compatibility.

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, 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). Systemd provides an alternate interface to polkit called run0.