On Friday 26 May 2006 02:41, Limin Wang wrote:
> Chris,
>
> The latest sudo will reset the env default, so you need add below line to
> /etc/sudoers:
>
> [EMAIL PROTECTED]:~$ 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
>
> Regards,
> Limin

I think it should be "!env_reset".

Chris

>
> * Chris <[EMAIL PROTECTED]> [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 [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]

-- 
C. Hurschler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to