|
Bugzilla – Full Text Bug Listing |
| Summary: | changes in 1.7.4 make sudo -H not usable | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Elan Ruusamäe <glen> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | high | ||
| Version: | 1.7.4 | ||
| Hardware: | PC | ||
| OS: | Other | ||
| Attachments: | Interoperability fix for HOME in env_keep and -H flag | ||
|
Description
Elan Ruusamäe
2010-09-14 16:16:19 MDT
Created attachment 293 [details]
Interoperability fix for HOME in env_keep and -H flag
I've attached a patch that is currently scheduled for sudo 1.7.5 that should address this. that's a quick one! i'll test it right away! :) great, seems work again! with "Defaults env_keep += HOME" : $ sudo env | grep HOME HOME=/home/glen $ sudo -H env | grep HOME HOME=/root $ sudo -i -H env | grep HOME JAVA_HOME=/usr/lib/jvm/java HOME=/root $ sudo -V Sudo version 1.7.4p4 (with the patch from this bug) Fixed in sudo 1.7.5 and 1.8.0. |