Mailinglist Archive: opensuse-factory (818 mails)

< Previous Next >
Re: [opensuse-factory] Beta 3: Desktop machine hibernated on its own
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Mon, 27 Oct 2008 10:01:51 +0100
  • Message-id: <200810271001.51994.ludwig.nussel@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups