Need to re-source /etc/profile to access the net when sudo bash-ing
I wondered if anyone could give me a hint on this.
Any time for some reason as user I need to sudo bash in a terminal (e.g. in order to emerge a package) I have to source /etc/profile to retrieve the http_proxy/ftp/RSYNC varariables and make the access to the internet working through the proxy.
Can this be avoided or I need to put those export variables in root's directory's bash_profile?
Last edited by Pier; 12-19-2007 at 05:32 AM.