In a production server with ubuntu 7.04, a sudo -s and export returns
the setting of the user which gave the sudo command. This looks like
normal behaviour to me. On 10.04 when I'm a normal user, and do a:

sudo echo $http_proxy

I get my proxy settings. While doing the sudo -s and export, its empty,
even though the proxy is set as system wide. So, I do think its a bug.
Maybe not because of the system wide info, but because of the proxy
settings from the current user how executes the sudo command.

Im sure that in former versions this was working, and for system
administrators I can't imagine this is wanted behaviour. Why do you else
set the system wide proxy settings?

-- 
sudo does not keep http_proxy environment variable
https://bugs.launchpad.net/bugs/556293
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to