I was running into all sorts of issues with my univesity proxy a month back and I made some changes to a few files here and there to automatically export the proxy to the http_proxy variable.
Now the issue is, there's some command in some file which automatically sets the root user's proxy to a "http://oldproxy:8080
" and I want to change it to "http://newproxy:8080
". So as a result, everytime I open sudo su
and check echo $http_proxy
, it's set to the old value, even if I manually export http_proxy
.
I found the file which automatically exports myname@mycomp's proxy and changed it, but I can't remember which while exports su
's proxy.
Which file might that be?