Resources‎ > ‎System Administration‎ > ‎

Linux (Ubuntu)

Proxy

In Ubuntu, when executing sudo commands, the sudo env variables are cleared and so the "http_proxy" variable is gone too. To keep it, run:

visudo

Find:

Defaults env_reset

Add after that line with:

Defaults env_keep = "http_proxy"
Comments