Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-11-2003, 08:41 PM   #1
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Rep: Reputation: 30
Give users the option to shut down in Gnome's logout

On my system (Gnome 2, Slackware 9.0) a user logged in with Gnome that clicks log out on the menu has only the option to log out. When root clicks log out there are additional options to reboot or shut down the system. I have seen (on other systems running other distributions) regular users given the ability to shut down/reboot from their log out, how can I do this on mine?

(Note: I am not talking about the system menu on the log in screen, I am talking about the dialog box that greets a user clicking log out from a menu.)
Old 05-12-2003, 04:50 AM   #2
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
hmm... when i, using my user account in gnome , select actions ->
log out, i can select 'log out', 'shut down', and 'restart computer'.
strange that that is not the case with you. perhaps i have those
options because i installed dropline gnome?
Old 05-12-2003, 04:40 PM   #3
Registered: Dec 2002
Distribution: Slackware 12.0
Posts: 240

Original Poster
Rep: Reputation: 30
I suspect it's the permissions a program is run with, and that if I can just figure out what program it is and run it with setuid I'll be fine, but I haven't been able to find it (whatever it is is already running because when I click logout the output of ps -e doesn't change).
Old 05-12-2003, 04:42 PM   #4
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
At terminal:

shutdown -h now
Old 05-12-2003, 06:15 PM   #5
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Originally posted by angelrod
At terminal:

shutdown -h now
When I'm not logged in as root, I have to log in as SU and then I can do that command, otherwise chmod doesn't work... In fact, I don't think chmod has done anything when I've done it, although the Verbose says it has...(I run chmod 777 {file /dir/name} -v)


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
lost shut down option overproof Mandriva 3 11-14-2005 03:58 PM
logout wont give shutdown option etim Linux - Software 9 04-11-2005 04:39 PM
No shut down option A_Linux_Newbie Mandriva 8 03-23-2005 04:05 PM
logout kde give black screen trollman Linux - Newbie 4 01-18-2004 07:42 PM
Gnome log out option only, no shut down hindenbergbaby Linux - Software 4 10-29-2003 08:27 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:56 AM.

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
Open Source Consulting | Domain Registration