[sudo-users] Only change a password for a specific account

Cruse, Kevin k-cruse at ti.com
Thu Mar 31 12:52:44 EST 2005


Hello,
I am wanting to set up my sudoers file so a particular user can only
change the password on a particular account, will the following example
work?

Cmnd_Alias      ACCTS=/usr/sbin/usermod [!-]?*, /usr/sbin/usermod -D?*,
/usr/bin/passwd <accountname to change>

# Application account for User
<Personal account name>  <host>=ACCTS


Kevin Cruse
Internet & Naming Services team
k-cruse at ti.com
214-567-8010 




More information about the sudo-users mailing list