Sudo clears the environment variable

illoai at gmail.com illoai at gmail.com
Tue Aug 7 02:32:36 PDT 2007


On 07/08/07, Olivier Nicole <on at 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.

-- 
--


More information about the freebsd-questions mailing list