[sudo-users] special sudo definition assistance

Todd C. Miller Todd.Miller at courtesan.com
Tue Aug 21 16:55:22 EDT 2012

If what you want is to run /home/ateam_repo/executor as group
ateam_boss without changing the user, try this:

%ateam ALL =(:ateam_boss) NOPASSWD: /home/ateam_repo/executor

The Runas_Spec is user(s):group(s) and if the user is not specified
only the group is changed.  You would run it as:

$ sudo -g ateam_boss /home/ateam_repo/executor

 - todd

More information about the sudo-users mailing list