Polkit: Difference between revisions

From NixOS Wiki
imported>Coolshaurya
(Add polkit page)
 
imported>Coolshaurya
m (Use proper code tag)
Line 5: Line 5:
== Enable polkit ==
== Enable polkit ==


Polkit is enabled by default. If you wish to disable it, you can set `security.polkit.enable` to false.
Polkit is enabled by default. If you wish to disable it, you can set <code>security.polkit.enable</code> to false.

Revision as of 14:12, 21 November 2021

Polkit is used for controlling system-wide privileges. It provides an organized way for non-privileged processes to communicate with privileged ones. In contrast to sudo, it does not grant root permission to an entire process, but rather allows a finer level of control of centralized system policy.

Enable polkit

Polkit is enabled by default. If you wish to disable it, you can set security.polkit.enable to false.