Re: sudo versus su environment?
On Friday 26 May 2006 02:41, Limin Wang wrote:
> The latest sudo will reset the env default, so you need add below line to
> lmwang@laptop:~$ sudo more /etc/sudoers
> # /etc/sudoers
> # This file MUST be edited with the 'visudo' command as root.
> # See the man page for details on how to write a sudoers file.
> Defaults !env_rese
I think it should be "!env_reset".
> * Chris <email@example.com> [2006-05-25 14:16:43 +0200]:
> > 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
> > --
> > C. Hurschler
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > firstname.lastname@example.org