[Nix-dev] Sudoers

Roger Qiu roger.qiu at matrix.ai
Thu Sep 15 13:13:02 CEST 2016


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 <roger.qiu at matrix.ai 
> <mailto: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.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160915/ddcd7b00/attachment.html>


More information about the nix-dev mailing list