LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-06-2003, 08:42 PM   #1
nearfar
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Rep: Reputation: 0
Unhappy 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

 
Old 10-07-2003, 11:33 AM   #2
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
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=
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"shutdown" and "halt" symlinks: poweroff, reboot. sud_crow Linux From Scratch 11 10-17-2006 11:03 PM
ShutDown/Reboot using "KDE graphical logout" and GDM ? tsiMental Ubuntu 2 08-08-2005 10:54 AM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 08:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 11:12 AM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM


All times are GMT -5. The time now is 12:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration