* Ludwig Nussel [2008-10-27 10:01]:
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
Is there a good documentation about Policykit that contains such stuff? Regards, Bernhard -- Bernhard Walle, SUSE Linux Products GmbH, Architecture Development -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org