Carlos E. R. wrote:
Vincent Untz wrote:
gnome-power-manager has some inhibit mechanisms. This means an application can say "don't suspend" (eg, when you're burning a CD). And the user can also control this with an applet.
However, root should be able to control what power he gives the users over this. Root should be able to disable the ability of users to power off, reset, or hibernate the computer, or on the contrary, force an hibernation; and this regardless of what desktop the user is using.
# awk '/shutdown|reboot|hibernate|suspend/ {print $1 " auth_admin_keep_always"}' \ < /etc/polkit-default-privs.standard >> /etc/polkit-default-privs.local # set_polkit_default_privs cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org