[systemd-devel] Who has rights to override/ignore inhibitors?

Lennart Poettering lennart at poettering.net
Sun Aug 16 06:07:07 PDT 2015


On Fri, 14.08.15 21:12, Jayson Willson (jaysonwillson245 at gmail.com) wrote:

> Hello. I have realized, that my user (groups: tty,disk,mail,news,dialout,voice,sudo,audio,www-data,video,plugdev,users,mlocate,kvm,vboxusers,libvirt)
> can ignore inhibitors (such as root being logged in) using "systemctl
> suspend -i" without password prompt (though su, sudo and polkit do require
> password).
> Could you please tell me, which users can ignore inhibitors, and what should
> be changed to change such behaviour? Thank you.

This is subject to PolicyKit policy. See /usr/share/polkit-1/actions/org.freedesktop.login1.policy.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list