Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2007 04:32:34 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Olivier Nicole" <on@cs.ait.ac.th>
Cc:        jhary@unsane.co.uk, freebsd-questions@freebsd.org
Subject:   Re: Sudo clears the environment variable
Message-ID:  <d7195cff0708070232y5b06329ene4228d7f96bf8c4b@mail.gmail.com>
In-Reply-To: <200708070904.l7794BEO064504@banyan.cs.ait.ac.th>
References:  <200708070852.l778qAwt062574@banyan.cs.ait.ac.th> <46B83486.3040203@unsane.co.uk> <200708070904.l7794BEO064504@banyan.cs.ait.ac.th>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.

-- 
--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?d7195cff0708070232y5b06329ene4228d7f96bf8c4b>