[K12OSN] removing shutdown and reboot from menus

Petre Scheie petre at maltzen.net
Tue Apr 11 17:52:23 UTC 2006


Doug,
Could you add this to the wiki, please?  As you mentioned, this has come up before, so 
it seems a good thing to document.

Petre

Doug Simpson wrote:
> Thanks!
> 
> That is just waht I wanted!
> 
> Doug Simpson
> Technology Specialist
> DeQueen Public Schools
> DeQueen, AR 71832
> simpsond at leopards.k12.ar.us
> Tux for President!
> 
> On Tue, 11 Apr 2006, Eric Harrison wrote:
> 
>> 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
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>> For more info see <http://www.k12os.org>
>>
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 




More information about the K12OSN mailing list