diff options
author | 5aaee9 <jiduye@gmail.com> | 2022-03-29 04:22:18 +0800 |
---|---|---|
committer | 5aaee9 <jiduye@gmail.com> | 2022-03-29 04:22:18 +0800 |
commit | f1a5d029908bcc5433645e127c4669ae5abe3c59 (patch) | |
tree | 86a181c5ebaeacf5bdbcd6a4309e072354ce67e0 /pkgs/servers | |
parent | 0e3d0d844e89da74081f0e77c1da36a2eb3a8ff7 (diff) |
teleport: fix suid exec problem
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/teleport/0001-fix-add-nix-path-to-exec-env.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/teleport/0001-fix-add-nix-path-to-exec-env.patch b/pkgs/servers/teleport/0001-fix-add-nix-path-to-exec-env.patch index 27242b218328c..328dac4145b2b 100644 --- a/pkgs/servers/teleport/0001-fix-add-nix-path-to-exec-env.patch +++ b/pkgs/servers/teleport/0001-fix-add-nix-path-to-exec-env.patch @@ -16,10 +16,10 @@ index 253fbafef..815a2e1e0 100644 const ( - defaultPath = "/bin:/usr/bin:/usr/local/bin:/sbin" -+ defaultPath = "/bin:/usr/bin:/usr/local/bin:/sbin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/run/wrappers/bin" ++ defaultPath = "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/bin:/usr/bin:/usr/local/bin:/sbin" defaultEnvPath = "PATH=" + defaultPath - defaultRootPath = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -+ defaultRootPath = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/profiles/per-user/root/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/run/wrappers/bin" ++ defaultRootPath = "/run/wrappers/bin:/etc/profiles/per-user/root/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" defaultEnvRootPath = "PATH=" + defaultRootPath defaultTerm = "xterm" defaultLoginDefsPath = "/etc/login.defs" |