Mandag 22 januar 2007 08:47 kvad Johnny Ernst Nielsen:
> [...] it is still there for everyone at the login screen (System ->
> Shut down)

Searching for the solution to another problem, I stumbled upon this 
one.

One has to edit /opt/kde3/share/config/kdm/kdmrc and uncomment the 
line "#AllowSuspend=All" and change "All" to "None"

So the full soution is:

Edit the following files:
/etc/PolicyKit/privilege.d/hal-power-hibernate.privilege
/etc/PolicyKit/privilege.d/hal-power-standby.privilege
/etc/PolicyKit/privilege.d/hal-power-suspend.privilege
In all three cases set SufficientPrivileges= and Allow= to nothing
Edit /opt/kde3/share/config/kdm/kdmrc
Uncomment the line "#AllowSuspend=All" and change "All" to "None"

This will remove the suspend button from all logout boxes everywhere 
for all users.

Best regards :o)

Johnny :o)
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to