Pawe?? Madej <[EMAIL PROTECTED]> wrote:
> Frank Groeneveld wrote:
> > You probably have /sbin/shutdown set suid, because on all my Gentoo
> > boxes, normal users can't run it, only root can run it. (Permission
> > denied). What is the output of ls -al /sbin/?
> > 
> [EMAIL PROTECTED] ~ $ ls -al /sbin/
[snip]
> - -rwxr-xr-x   1 root root   10984 lis 29 16:39 halt
[snip]
> - -rwxr-xr-x   1 root root   19424 lis 29 16:39 shutdown
[snip]

Looks to be in order. If you run halt or shutdown as a non-root user,
you should get a terse refusal. shutdown will also give you a standard
usage dump.

<pts://[EMAIL PROTECTED]:3/> halt
halt: must be superuser.
<pts://[EMAIL PROTECTED]:3/> shutdown
shutdown: you must be root to do that!
Usage:    shutdown [-akrhPHfFnc] [-t sec] time [warning message]
[snip]

-- 
mount /dev/wyrm /mnt/bed ; sleep 28800
-- 
[email protected] mailing list

Reply via email to