[sudo-users] special sudo definition assistance

Todd C. Miller Todd.Miller at courtesan.com
Wed Aug 22 09:21:32 EDT 2012

On Wed, 22 Aug 2012 07:05:29 +0200, daggs at gmx.com wrote:

> interesting, if I understand correctly, Runas_Spec's format is
> <user>:<group>, right?


> how about this cmd:
>    sudo -u ${USER} -g ateam_boss /home/ateam_repo/executor
> will it work with the above line? I need to run it as the user which
> called the sudo due to SDL limitations.

You really don't need the "-u ${USER}", it is implied when you use
the -g option without specifying -u.  It should work, though.

 - todd

More information about the sudo-users mailing list