sudo su

Ronald Warner cscrw at mail.dlsu.edu.ph
Wed Sep 20 22:12:12 EDT 2000


Here is the entry in /etc/sudoers.  I have:

User_Alias					ADMIN = cscrw, cscacu, cscrcp
DEFAULTS:ADMIN		rootpw
ADMIN						ALL = /bin/su

is this correct because with the above config when user cscrw 
does a sudo su and enters the password, it accepts neither the 
cscrw password or the root password.

thanks.

> You want that to be:
> 
> Defaults:ADMIN		rootpw
> 
> And "ADMIN" needs to be defined before the Defaults entry.
> 
>  - todd





More information about the sudo-users mailing list