Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Shutdown for non-root doesn't work< Next Oldest | Next Newest >
Ublis Offline





Group: Members
Posts: 3
Joined: Nov. 2004
Posted: Nov. 21 2004,16:56 QUOTE

Hello, I've succeeded in installing DSL on an old 200 MHz K6 PC with 2 GB HD, after trying out Morphix Lite and a custom light install of MDK10 - DSL is faster than the other two and I like it best, even though it was originally my third choice.

On to the question.

I have DSL installed on a 1.3 GB hda1 partition, with a 250 MB swap on hda6 and a 350 MB ext2 on hda5 for user docs/settings. I've messed around with it until I got /home to sit and stay on hda5, thanks to some posts on these forums.
My problem now is that it is impossible for any user but root to shutdown from the menu - it simply doesn't do anything. If I close the GUI part from the menu, the console behaves weirdly (text doesn't appear on the screen, or the first letter is eaten), but it's possible to logout, log in as root and then shutdown.
All users were added using the AddUser menu item in DSL.

How can I fix this?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 21 2004,17:25 QUOTE

If you look at the shutdown command when called from the menu, it is a "sudo" command. If you want other users to be able to "sudo" commands, then add them to the file /etc/sudoers
Back to top
Profile PM WEB 
Ublis Offline





Group: Members
Posts: 3
Joined: Nov. 2004
Posted: Nov. 21 2004,17:42 QUOTE

Thanks, that works.

But now I need to click the menu twice. First time the PC beeps and doesn't do anything, second time it shuts down.
Back to top
Profile PM 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Nov. 24 2004,16:53 QUOTE

hmmmmmmm, have you tried waiting a few secs. welcome to the forum btw :)

--------------
ico2
Back to top
Profile PM MSN 
samsocal
Unregistered






Posted: Nov. 06 2005,21:55 QUOTE

I'm fairly new to linux and DSL is my first attempt to learn. I tried 1.5 and was impressed, now I'm experimenting with 2.0. I also had the same problem with shutting down from non root users but I found that I can shut down as follows:

1. From the menu I issue the shutdown or reboot command.
2. I hit ctrl-alt-del.
3. type 'exit' or 'logout'
4. then I login as root

Not sure if this is kosher, but it seems to work consistently.

As a side note, I've noticed that when I'm root, I can get the computer to shutdown fastest by unmounting my hard drive and then typing 'shutdown -nr now'. Seems much faster than the menu shutdown/reboot.

samsocal
Back to top
4 replies since Nov. 21 2004,16:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Shutdown for non-root doesn't work

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code