Comment 8 for bug 977178

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 977178] Re: After upgrading to 12.04, flash doesn't seem to be installed to Firefox even though the package is.

On Fri, Apr 13, 2012 at 09:34:05PM -0000, Markus Berndt wrote:
> One thing I now noticed is that when I get a root shell with 'sudo
> bash', wget does not work with my proxy, while it works fine from my
> user account. Maybe that is actually the problem?

Yes, that's the problem in this context.

You can specify in /etc/sudoers that you want your proxy variable to be
preserved by adding this line:

Defaults env_keep="http_proxy"

Note that this allows any user with sudo access to MITM root's network
connections, so is not enabled by default.

We should really just make sudo pull in /etc/environment though, I think.