[K12OSN] removing shutdown and reboot from menus

Eric Harrison eharrison at mail.mesd.k12.or.us
Tue Apr 11 15:12:29 UTC 2006


Doug Simpson wrote:
> I have seen this posted several times but . . .
> 
> How can I remove the "Shutdown" and "Reboot" choices from the login screen 
> and also from the start menus of all clients and all desktops on an LTSP 
> server?
> 
> I have had a problem with the server getting shutdown by users.
> 
> Thanks
> 
> Doug Simpson
> Technology Specialist
> DeQueen Public Schools
> DeQueen, AR 71832
> simpsond at leopards.k12.ar.us
> Tux for President!
> 


Depends on if you are using GDM or KDM. GDM (the default), edit
/etc/X11/gdm/gdm.conf (FC4 or earlier) or /etc/gdm/custom.conf (FC5 or
later) and set:

	HaltCommand=
	RebootCommand=
	SuspendCommand=


Running /opt/ltsp/templates/k12linux/gdm.conf-update.pl will do this for
you.


For KDM, edit /etc/X11/xdm/kdmrc and comment out (#) the following lines:

	# HaltCmd=
	# RebootCmd=

Running opt/ltsp/templates/k12linux/kdmrc-update.pl will do this for you...

-Eric




More information about the K12OSN mailing list