[sudo-users] env_reset ignored under sudoers plugin?

Todd C. Miller Todd.Miller at courtesan.com
Mon Oct 3 10:13:14 MDT 2016


If you give a user sudo ALL permissions they will be able to set
arbitrary environment variables and use "sudo -E".  You can add the
NOSETENV tag to the ALL keyword as follows:

    testuser somehost = NOSETENV: ALL

 - todd


More information about the sudo-users mailing list