[ale] shutdown as non-root

Robert Coggins ale at cogginsnet.com
Fri Apr 11 07:17:17 EDT 2003


I use RH 8.0  (haven't had access to a fast network with a burner.)  To turn
off my laptop I use poweroff.  That is with a nonroot user too!

-Rob

----- Original Message -----
From: "Thomas Holmquist" <fishy at ipa.net>
To: ale at ale.org
To: <ale at ale.org>
Sent: Thursday, April 10, 2003 11:54 PM
Subject: Re: [ale] shutdown as non-root


> well I wouldent want non-root to be able to shutdown my server, but this
> is a single user laptop (im the only person that uses it, so it really
> isnt a big deal...)
>
> Douglas Bridges wrote:
>
> >Do you really want non-root users to be able to shut down the machine
without
> >having explicit authorization to do so? However, one way to do it is by
using
> >a "wheel" group that has permissions.  You can read about it at
> >http://www.linuxgazette.com/issue36/tag/24.html
> >
> >Doug
> >
> >On Thursday 10 April 2003 11:32 pm, Thomas Holmquist wrote:
> >
> >
> >>But thats icky ;)
> >>
> >>there HAS to be something built-in to shutdown that allows non-users to
> >>shutdown :-/
> >>
> >>James S. Cochrane wrote:
> >>
> >>
> >>>sudo is your friend.
> >>>
> >>>James
> >>>
> >>>At 11:16 PM 4/10/03 -0400, you wrote:
> >>>
> >>>
> >>>>How can I set my laptop so a non-root user can shut it down (
> >>>>shutdown -h now )
> >>>>
> >>>>Heres what I get when I try to shutdown now:
> >>>>
> >>>>thomas at inspiron:~$ shutdown -h now
> >>>>shutdown: you must be root to do that!
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>Ale mailing list
> >>>>Ale at ale.org
> >>>>http://www.ale.org/mailman/listinfo/ale
> >>>>
> >>>>
> >>>_______________________________________________
> >>>Ale mailing list
> >>>Ale at ale.org
> >>>http://www.ale.org/mailman/listinfo/ale
> >>>
> >>>
> >>_______________________________________________
> >>Ale mailing list
> >>Ale at ale.org
> >>http://www.ale.org/mailman/listinfo/ale
> >>
> >>
> >
> >_______________________________________________
> >Ale mailing list
> >Ale at ale.org
> >http://www.ale.org/mailman/listinfo/ale
> >
> >
> >
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list