Re: turning off computer
The easiest way to have a shutdown command that the other members of your
family can use with out giving the root password out is this:
Step #1 - create a shutdown user and password ( you don't have to put the
password in if you don't want to )
step #2 - change the field right after the password field (I think it is
called the group field to 0 which is root access)
step #3 - edit the .bash_profile to execute the shutdown command (ie in
/sbin/shutdown -h now)
I hope this helps.
Paul McDermott
On Wed, 5 Mar 1997, I Brake for Moths wrote:
> Is there a way for a user without root priveleges to cleanly unmount the
> root file system and shutdown the computer?
>
> I've been running 'init 0' as root before turning off the box, but I
> don't want to have to give out the root password to my family (it's bad
> enough that I know it!) just so they can turn the thing off when I'm not
> around. We'd rather not leave it on when it is not in use.
>
> Thanks,
> Rikki
>
> *******************************************************************************
>
> If you have already paid your bill, please disregard this notice.
>
> *******************************************************************************
>
>
>
Reply to: