Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

restrict sudo



 All, 

I try to limit the sudo user access and add the following to the /etc/sudoers 

********************* 
User_Alias MADMINS = mailuser1 

# MADMINS 
Cmnd_Alias MADMINS  = /bin/mv /var/log/ 

# MADMINS with no password need 
MADMINS      ALL=(MADMINS)  NOPASSWD: ALL 
********************* 
I got the following error: 
Warning: undeclared Runas_Alias `MADMINS' referenced near line 93 

Did I do something wrong? If anyone can help? 

Thanks. 

--Dave 






      

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org