On 4/18/00 23:33, Karthik Vishwanath at [EMAIL PROTECTED]
wrote:
>
>I was shocked when I realised that as a user I could run 'shutdown' just
>by supplying my passwd! 'which shutdown' says /usr/bin/shutdown. I run RH
>6.1, why is this there? How can any user be allowed to shut the machine
>off?
On my SuSE machine it is /sbin/shutdown, and `which shutdown` just
returns me to the command prompt if I enter the command as a user. Could
be that RedHat has shutdown under /usr/bin. What permissions does it
show when you do a `ls -lF /usr/bin/shutdown`?
I can't imagine that allowing users to shutdown the machine is *that*
odd. If you look at shutdown's manpage you can see that using a
/etc/shutdown.allow file listing the users authorized to shutdown and a
setting in /etcinittab, listed users can shut down the machine with the
three-fingered-salute. I set my machine up that way so my daughter can
reboot the machine into Windows to play her Barbie games. Using this
method, she doesn't need root access, and I don't have to try to set up
`sudo` (although that will come eventually as her skills improve).
>
>Thanks,
>-Karthik.
>
>-------------------------------------
>Whatever you want to do, you have to do something else first.
>
Cheers,
Sean
Theo. Sean Schulze
[EMAIL PROTECTED] [EMAIL PROTECTED]
***************************************************
He that wrestles with us strengthens our nerves and
sharpens our skill. Our antagonist is our helper.
-- Edmund Burke
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs