I am confused at the format of sudoers file. Which of following is the
following correct for allowing a particular user run shutdown command:
1. USERNAME  ALL=(ALL)  ALL
2. USERNAME  localhost=/sbin/shutdown -h now

Can any one send a snip of their sudoers file for one command?

-- 
Sudev Barar

Learning Linux




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to