Welcome to the most active Linux Forum on the web.
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 02-06-2004, 11:52 AM   #1
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
/etc/shutdown.allow donst seem to work ?

Hey guys...

Using Fedora core 1
with 2.4.24 - crypto-loop-AES kernel
and updated mount / losetup / umount binary's

ive created the file /etc/shutdown.allow
and added my user name and root
to the file in the format specified by `man shutdown`

however when i issue the command as standard user
shutdown -ah now
shutdown -a now
shutdown -a -h now

i get the message
"only root can do that !"

uve followed the instructions in man shutdown exactly...
what's up with my sustem ?

i need to allow users without root permissions to shutdown the machine.
But i REEAY dont want to use the ctrl-alt-delete method.

Users were able to shutdown with GNOME...
but GNOME wasunstable, so im using KDE 3.2.

thanKS for any help or surgestions
Old 02-07-2004, 01:32 PM   #2
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,241

Rep: Reputation: 77
There is a howto here:

My machine at home is a single-user desktop, so what I did was just:

chmod u+s /sbin/halt

so that any user can shutdown the machine with the "halt" command. Obviously, that is not a good idea for a multi-user machine.


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
KInternet cant work after shutdown! bin75 Linux - Wireless Networking 0 07-17-2005 10:49 AM
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 11:44 AM
SENDMAIL - Why does it not work when i shutdown xinetd adamrau Linux - Software 2 10-22-2001 11:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration