View Single Post

   
  #3 (permalink)  
Old 02-18-2008, 09:36 AM
Daniel Schranz
 
Posts: n/a
Default Re: shutdown for non-root users

Daniel J. Smale - RSG wrote:

> Guys & Gals,
>
> How do I enable a non-root user to execute:
>
> shutdown -h 0
>
> The only message I get is that only root can do this.
>
> I've checked the permissions on the shutdown binary, and it is
> executable by all (obviously, else it would display the message!)
>
> I am missing a step... could someone please fill me in?
>
> TIA,
>
> Dan.


Tried /etc/shutdown.allow?
That will be much prettier than changing the halt-user!

Greetz Daniel
Reply With Quote