|
Bugzilla – Full Text Bug Listing |
| Summary: | -H ignored in combination with -s | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | kbyanc |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.7.4 | ||
| Hardware: | PC | ||
| OS: | Other | ||
|
Description
kbyanc
2011-01-31 18:03:10 MST
It it helps, I should mention that my /etc/sudoers has "Defaults env_reset" and "Defaults env_keep += "HOME" in it. I still expected that -H would override these defaults, though. This is fixed in sudo 1.7.5 which is currently in beta test: $ grep HOME /etc/sudoers Defaults env_keep +="HOME" $ sudo-1.7.5 -s # echo $HOME /home/millert # exit $ sudo-1.7.5 -sH # echo $HOME /root # exit Fixed in sudo 1.7.5 and 1.8.0. |