Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2009, 07:37 AM   #1
LQ Newbie
Registered: Apr 2009
Posts: 25

Rep: Reputation: 0
Trying to remove the shutdown reboot button from the command line

I know how to do it from the gui but how do you do it from the command line in RHEL 5.3. I did some research and it told me to edit a entry in the /etc/gdm/custom.conf file "SystemMenu=false" but when I edited the file the entry wasn't there and when I added it, it didn't do anything. Regular users can still reboot and shutdown the computer. Anyone have any ideas?
Old 07-10-2009, 09:02 AM   #2
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 512

Rep: Reputation: 108Reputation: 108
Hi fcfury

You may wish to consider running your computer in runlevel 3.
Edit the following line in /etc/inittab:


Then simply enter

exec startx

as the last line in the $HOME/.bash_profile file

The users will enter their username and password in the command line but be ported in their GNOME desktop immediately after they log in.



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
How to remove reboot and shutdown ? khanrockz Linux - Software 2 06-13-2007 08:38 PM
Power button map to shutdown command sadarax Linux - Hardware 3 04-04-2007 08:35 AM
Logout/shutdown/reboot button misconfigured on GNOME odiseo77 Linux - Software 1 08-09-2006 02:37 PM
mouse third button scroll problem/ reboot command help madiyaan Linux - Newbie 5 03-16-2005 10:13 AM
Creating a shutdown & reboot button Mithrilhall Linux - Newbie 6 06-30-2003 03:48 PM

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

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