[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudo versus su environment?



Chris wrote:
> Hi,
> 
> I have a strange problem.  I have sudo setup so that I can sudo apt-get, to 
> update for instance.  In one network when I have an http_proxy set in the 
> environment apt-get update can connect when I use su, but not when I use 
> sudo.  env shows the proxy set correctly, but apt-get cannot seem to connect 
> when sudo'ing.  Any sugestions?
> 
> Thanks

Recent changes to sudo make it clear out the environment except for a
couple of variables (like DISPLAY).  Check the list archives for the
various ways you can work around this.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: