|
Bugzilla – Full Text Bug Listing |
| Summary: | Patch for passthrough of complete proxy environment | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Torsten Spindler <torsten> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.7.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Patch for passing through proxy related environment variables. | ||
There is currently no "http_proxy" in the default env keep list, perhaps that was added by a vendor patch? I think it is better to keep the sudo environment as minimal as possible and allow the local admin to add things via env_keep in sudoers. In this case, the proxy settings could be used to alter the behavior of a program running under sudo. |
Created attachment 265 [details] Patch for passing through proxy related environment variables. sudo by default only takes the http_proxy variable from the users environment, but the variables no_proxy, https_proxy and ftp_proxy are used in more complex proxy environments as well. The attached patch allows these variables to live in the sudo environment without need to add them to /etc/sudoers env_keep. The patch provides consistency for proxy related variables.