On Thu, Sep 15, 2016 at 10:31 AM, Roger Qiu <roger....@matrix.ai> 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.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to