Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Shutdown.allow, shutdown -a
ctrunk514
post Sep 2 2003, 02:39 PM
Post #1


./configure
***

Group: Members
Posts: 93
Joined: 29-May 03
From: Denver, CO, USA
Member No.: 902



Has anyone got shutdown with the -a option to work?

If you man shutdown it explains that you can use the -a option to force shutdown to look for a shutdown.allow file. I created this file, as stated in the man pages, and did a chmod 777 to it. When I try to use "/sbin/shutdown -a -h now" as a user, I keep getting the error "you must be root to shutdown"

I was wondering if anyone has ever gotten this to work?
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 2 2003, 03:50 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



My redhat 9 will not allow users in the shutdown.allow to perform shutdowns (or halt) either...only root.
---edit---
Actually ... I take that back ... a user who is logged into the console can use the command reboot or halt ...

external x connections can only shutdown if they are super user ... at least that is my observation.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
ctrunk514
post Sep 5 2003, 10:11 AM
Post #3


./configure
***

Group: Members
Posts: 93
Joined: 29-May 03
From: Denver, CO, USA
Member No.: 902



that sucks
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 09:01 PM