View Single Post

   
  #14 (permalink)  
Old 02-18-2008, 09:38 AM
Priit Lepist
 
Posts: n/a
Default Re: shutdown for non-root users

On Tue, 24 Jun 2003, Daniel J. Smale - RSG wrote:

> 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.


What about

# chmod 4740 /sbin/shutdown

and adding 'user' to the group which should be able to shutdown the box?

I think this should work..


--

plepist



Reply With Quote