3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/doas
Erik Arvstedt 781ab443c2
nixos/doas: fix recursive calls to doas
Previously, for processes launched by doas the unwrapped doas binary preceded the
setuid-wrapped doas binary in PATH.

This caused error `doas: not installed setuid` when running doas from
processes launched by doas.

doas seems to short-circuit the PATH lookup when called like
`doas -u myuser doas -u myuser ...` so the error doesn't appear in this case.
2021-08-12 14:40:22 +02:00
..
0001-add-NixOS-specific-dirs-to-safe-PATH.patch nixos/doas: fix recursive calls to doas 2021-08-12 14:40:22 +02:00
default.nix