[sudo-users] adding setenv to sudoers

Todd C. Miller Todd.Miller at courtesan.com
Wed Mar 18 11:15:45 MDT 2015

The correct syntax is:

usera ALL=(root) SETENV:/export/home/usera/agent12c/sbin/nmosudo *

You don't mention what version of sudo you are running, but SETENV
has been supported since version 1.6.9 so I'd be surprised if
that were an issue.

 - todd

More information about the sudo-users mailing list