Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Aug 2007 07:13:44 -0400
From:      "Arend P. van der Veen" <apvanderveen@att.net>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        Olivier Nicole <on@cs.ait.ac.th>, jhary@unsane.co.uk, freebsd-questions@freebsd.org
Subject:   Re: Sudo clears the environment variable
Message-ID:  <46B853E8.9040904@att.net>
In-Reply-To: <d7195cff0708070232y5b06329ene4228d7f96bf8c4b@mail.gmail.com>
References:  <200708070852.l778qAwt062574@banyan.cs.ait.ac.th>	<46B83486.3040203@unsane.co.uk>	<200708070904.l7794BEO064504@banyan.cs.ait.ac.th> <d7195cff0708070232y5b06329ene4228d7f96bf8c4b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
illoai@gmail.com wrote:
> On 07/08/07, Olivier Nicole <on@cs.ait.ac.th> wrote:
>>> env_reset  now seems to be on by default. you could turn it off if you
>>> need to or fiddle with the env_keep and env_check lists.
>> That's what I mean, how to turn it off.
> 
> I added the line
> 
> Defaults !env_reset
> 
> to sudoers.  You might want to put more
> restrictions on it.
> 
Hi,

After "# Defaults specification"

We added then line:

Defaults env_keep=*

Is this equivalent?

Thanks,
Arend



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B853E8.9040904>