Re: Shutdown w/o root password.
On Mon, 2005-12-19 at 20:40 -0500, Roby wrote:
> Gabriel wrote:
>
> > Why I don't need to supply the root password to shutdown the computer
> > from gnome?...
> > I've been searching for any option related but didn't find any.
> >
> >
> > Any idea?
> >
> I don't use gnome, but here's one way. If /etc/sudoers includes:
>
> username ALL=NOPASSWD: /sbin/halt
>
> and the shutdown calls sudo halt
Another: gdm is a startup script, so it's running as root. And it starts
gnome, so that is too. So when you log out, you're talking to root??
--
Glenn English
ghe@slsware.com
GPG ID: D0D7FF20
Reply to: