sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.16k stars 208 forks source link

Reference the SETENV-related settings in the command enviornment section. #273

Closed Kentzo closed 1 year ago

Kentzo commented 1 year ago

The ALL command matcher is used by default for admin users (often the only login users) on many systems. They should be mentioned in the Command environment section.

millert commented 1 year ago

sudoers.man.in should not be edited directly, it is generated from sudoers.mdoc.in using the mandoc utility. If you are not familiar with mdoc I can make the equivalent changes for you.

Kentzo commented 1 year ago

I'd appreciate it!

Please feel free to reword as your deem necessary. My only request is to emphasize the -E, SETENV and setenv relationship, as well the common behavior due to ubiquitous ALL = (ALL) ALL for admin users, in the command environment section.

millert commented 1 year ago

Closing in favor of e0ee845