Files
tailscale/ssh/tailssh
James Tucker 4f7d3cee7a ssh/tailssh: refuse direct-exec fallback for non-root users as root
When tailscaledPath is empty, newIncubatorCommand runs the session's
shell directly, with no be-child incubator to drop privileges. A root
tailscaled could therefore run a non-root user's session as root.
Refuse that case, mirroring canSwitchToLocalUser's semantics.

Updates tailscale/corp#50380

Signed-off-by: James Tucker <[email protected]>
(cherry picked from commit d484ac300e)
2026-10-27 20:12:07 +00:00
..
2026-04-10 10:48:50 -07:00