LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-06-2004, 10:52 AM   #1
qwijibow
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
or
shutdown -a now
or
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, 12:32 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
There is a howto here:

http://www.patoche.org/LTT/all/00000059.html

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 PM.

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