LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Removing "shutdown" and "reboot" in logout window (https://www.linuxquestions.org/questions/red-hat-31/removing-shutdown-and-reboot-in-logout-window-101025/)

nearfar 10-06-2003 08:42 PM

Removing "shutdown" and "reboot" in logout window
 
Hello all,

I would like to disable the "shutdown" and "reboot" options in the logout window, preferably without changing the authorization for the user to execute reboot and shutdown. Is there anyway i can just take out these options from the logout window? I would really appreciate it if you could advise me.
Thanks!


p.s> i'm using redhat 7.3, gnome display

:scratch:

LarryDoliver 10-07-2003 11:33 AM

not sure, but try removing the commands for these in the /etc/gdm/gdm.conf file :

HaltCommand=/sbin/shutdown -h now
to
HaltCommand=


see http://www.fifi.org/doc/gdm/html/C/x156.html for more details
and
RebootCommand=/sbin/shutdown -r now
to
RebootCommand=


All times are GMT -5. The time now is 11:11 PM.