[Mod: Split off from a 13(!) year old thread; Thread setting-proxy.1801]
How can I make this work with sudo(8)?
I've tried adding
How can I make this work with sudo(8)?
I've tried adding
setenv http_proxy http://proxy-server.com:3128
to /etc/profile which will make it work with the root user, but won't work using sudo(8). sudo -E
is also not an option:
Code:
% sudo -E pkg audit -F
sudo: sorry, you are not allowed to preserve the environment