sudo su

Todd C. Miller Todd.Miller at courtesan.com
Wed Sep 20 11:23:51 EDT 2000


You can use the 'rootpw' Defaults variable to cause sudo to
prompt for the root password instead of the user's but you'll
need sudo >= 1.6.3p1 to do it.

 - todd

In message <39C8BF2C.24951.1376850 at localhost>
	so spake "Ronald Warner" (cscrw):

> the /etc/sudoers file is below.  what i want to do is to enable admin 
> user to issue a 'sudo su' but instead of asking for the admin user's 
> password, i want it to ask for the root's password.
> 
> thanks for the help.
> 
> # User alias specification
> User_Alias      HELPDESK = cscmjbs, cscdvt
> User_Alias      ADMIN = cscrw, cscacu
> 
> 
> # Cmnd alias specification
> 
> # User privilege specification
> Defaults			syslog=auth
> Defaults                 log_year, logfile=/var/log/sudo.log
> HELPDESK           ALL = /root/data/, /usr/bin/passwd, !/usr/bin/passwd root
> ADMIN				ALL = /bin/su
> root				ALL=(ALL) ALL
> 
> 
> ____________________________________________________________ 
> sudo-users mailing list <sudo-users at courtesan.com>
> For list information, options, or to unsubscribe, visit:
> http://www.courtesan.com/mailman/listinfo/sudo-users




More information about the sudo-users mailing list