Disabling shutdown and suspend for normal users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

[CentOS 5]

What is the best way to remove the shutdown and suspend options
from menu's for normal users?

After googling around, I added "SystemMenu=false" to the greeter
section in /etc/gdm/custom.conf. After that the GDM login screen
still shows the options, but 'restart' indeed doesn't work anymore.
However, the gnome menu's when logged in, still have the 'suspend'
options, which still leads to a hanging (unwakeble) machine.

BTW: I prefer editing  config files instead of stupid gui's, as I have to
     change a lot of machines :-)

Regards,
-- 
Henk van Lingen, Systems Administrator & DBA                  (o-      -+
Dept. of Computer Science, Utrecht University.                /\        |
phone: +31-30-2534107                                        v_/_
http://henk.vanlingen.net/             http://www.tuxtown.net/netiquette/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux