I see that NixOS distributes vanilla sudo without any compile time shenanigans then.

Thanks,

Roger

On 15/09/2016 9:09 PM, obadz wrote:
On Thu, Sep 15, 2016 at 10:31 AM, Roger Qiu <[email protected] <mailto:[email protected]>> wrote:

    I noticed that unlike many other distributions sudo propagates
    many environment variables that would be cleared:


The list of variables comes from here: https://github.com/millert/sudo/blob/master/plugins/sudoers/env.c#L175-L201

Other variables are dropped unless you use sudo -E.

--
Founder of Matrix AI
https://matrix.ai/
+61420925975

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to