Sudo clears the environment variable

Vince jhary at unsane.co.uk
Tue Aug 7 02:26:33 PDT 2007


Olivier Nicole wrote:
> Hi,
> 
> On a new system that I am installing, I found out that the new version
> of sudo version 1.6.9p3 clears the environment variables.
> 
> It was not the case on previous version like version 1.6.8p12.
> 
> I tried to understand what is the configuration to perform like it was
> before, I tried to add the SETENV: tag like in
> 
> on	ALL=(ALL) SETENV: ALL

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.

Vince
> 
> but it is not working?
> 
> Any clue?
> 
> Best regards,
> 
> Olivier
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list