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

... then username won't be asked.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to