|
Bugzilla – Full Text Bug Listing |
| Summary: | inconsistently refusing to combine -i -E when accepting -i and env_keep | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Eli Schwartz <eschwartz> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | evangelos |
| Priority: | low | ||
| Version: | 1.8.23 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Eli Schwartz
2018-05-16 07:37:02 MDT
The original intent was to prevent the use of -i along with -E, since it doesn't make much sense to try to preserve nothing and everything. In the old days, -i implied env_reset whereas -E implied env_keep. However, the newer --preserve-env=VARIABLE syntax is actually equivalent to passing VARIABLE=value to sudo and so should be allowed. This is fixed in https://www.sudo.ws/repos/sudo/rev/8ea75ca8fbd2 Thanks for the rapid fix! Fixed in sudo 1.8.24, available now. |