Jump to content

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

☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

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.