On Sun, Feb 25, 2007 at 11:00:26AM -0800, Mark A. Bell wrote:
> Hello,
> 
> I'm running Ubuntu Edgy and I want to give myself permission to halt my 
> system without using sudo and a password. I've added the following to 
> /etc/sudoers using visudo:
> 
> mark    localhost = NOPASSWD: /sbin/halt
> 
> But still I get a message that I 'need to be root'. Can someone help?
> 
> Also, do changes to /etc/sudoers become effective immediately, or do I need 
> to restart something to make my system recognize them?

should happen the minute you save the file.
you can run sudo -l to list all the commands and who they run as 

is your machine called localhost ?
 
> 
> Thanks!
> 
> - mark
> 
>   http://www.flickr.com/photos/m487396
>   Power corrupts. PowerPoint corrupts absolutely.
> 
> 
> 
> 
> Send instant messages to your online friends http://au.messenger.yahoo.com
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to