[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Non-root shutdown



> [mark Godzilla mark]$ /sbin/shutdown -h -t 0 now
> shutdown: you must be root to do that!
> [mark Godzilla mark]$
> [mark Godzilla mark]$ ls -al /sbin/shutdown
> -rwxr-xr-x    1 root     root        14952 Mar 14  2002 /sbin/shutdown
> [mark Godzilla mark]$

Have you tried the suid-bit?
"chmod u+s /sbin/shutdown"

That's how I use rdate...

Andreas

-- 
You can get my public GPG key on my homepage
(you may also visit it if you are not trying to get my public key)
http://www.geocities.com/AndreasBalser





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]