Help - Search - Members - Calendar
Full Version: Shutdown.allow
Linuxhelp > Support > Technical Support
ctrunk514
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?
hughesjr
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.
ctrunk514
that sucks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.