How do I set both NOPASSWD and SETENV on the same line in sudoers?
Solution 1:
The same commands:
who where = (aswhom) NOPASSWD:SETENV: commands
The different commands:
who where = (aswhom) NOPASSWD: command1, SETENV: command2
The same commands:
who where = (aswhom) NOPASSWD:SETENV: commands
The different commands:
who where = (aswhom) NOPASSWD: command1, SETENV: command2