Skip to content

Commit 7833067

Browse files
committed
Add note about sudo -E to differences-with-sudo
This was suggested in #1299
1 parent eb249e1 commit 7833067

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ Exceptions to the above, with respect to your `/etc/sudoers` configuration:
210210
Some other notable restrictions to be aware of:
211211

212212
* Some functionality is not supported, such as preventing shell escapes using `INTERCEPT` and
213-
storing config in LDAP using `sudoers.ldap`, and `cvtsudoers`.
213+
storing config in LDAP using `sudoers.ldap`, and `cvtsudoers`. This includes `sudo -E`,
214+
which is [discouraged](https://www.sudo.ws/docs/troubleshooting/#why-does-sudo-modify-the-commands-environment) in original sudo.
214215
* Sudo-rs always uses PAM for authentication, so your system must be set up for PAM.
215216
Sudo-rs will use the `sudo` and `sudo-i` service configuration. This also means
216217
that resource limits, umasks, etc have to be configured via PAM and not through

0 commit comments

Comments
 (0)