[nmglug] sudo

pi pi at pihost.us
Sun Jun 12 20:53:35 PDT 2005


a_kaluta wrote:
> Dear club members;
> Attempting to add to the sudoers list,
> looking at "man sudoers", attempting to assemble those examples,has been 
> a no go.
> I wish to add "Red" with root access to "visudo".
> Are there any club members inclined to reveal their knowledge of that 
> arcane syntax?
>                                          Signed: a Friend of Reds'.
> #Host alias specifications
> #User alias specifications
> #Cmnd alias specifications
> #User alias specifications
> root    ALL=(ALL) ALL

red ALL=/usr/sbin/visudo

However, this is effectively root access, since vi will let the user 
escape to the shell by  :!sh
> 
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug
> 





More information about the nmglug mailing list