[Nix-dev] Sudoers

obadz obadz-nix at obadz.com
Thu Sep 15 13:09:27 CEST 2016


On Thu, Sep 15, 2016 at 10:31 AM, Roger Qiu <roger.qiu at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160915/700c1c97/attachment.html>


More information about the nix-dev mailing list