sudo su

Ronald Warner cscrw at
Wed Sep 20 01:44:14 EDT 2000

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

More information about the sudo-users mailing list