[SWLUG] Help with Sudo

linux linux at roblaz.co.uk
Thu May 23 16:18:06 UTC 2002


Please can someone help me make a sudoers file to configure sudo....

I need it to configure sudo to permit 3 users (user1, user2, user3) to perform the root command "shutdown"

I am getting a bit lost in the syntax of the man page for sudoers.

I have the following entries...

#########################################
User_Alias    USERS = User1, User2, User3

CMND_Alias    SHUTDOWN = /sbin/shutdown

#User Privelege
root            ALL = (ALL) ALL
USERS      ALL = NOPASSWD: ALL
#########################################

I get the message "shutdown command not found", but I can see it in /sbin ??

All help appreciated
Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20020523/1de04242/attachment.html>


More information about the Swlug mailing list