tailscale/ssh/tailssh
Brad Fitzpatrick be67b8e75b ssh/tailssh: fix Tailscale SSH to non-root tailscaled
Fix regression from 337c77964b where
tailscaled started calling Setgroups. Prior to that, SSH to a non-root
tailscaled was working.

Instead, ignore any failure calling Setgroups if the groups are
already correct.

Fixes #6888

Change-Id: I561991ddb37eaf2620759c6bcaabd36e0fb2a22d
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-01-06 13:19:12 -08:00
..
context.go ssh/tailssh: close sshContext on context cancellation 2022-10-09 17:17:03 -07:00
incubator_linux.go ssh/tailssh: unify some of the incubator_* GOOS files into incubator.go 2023-01-06 13:19:12 -08:00
incubator.go ssh/tailssh: fix Tailscale SSH to non-root tailscaled 2023-01-06 13:19:12 -08:00
tailssh_test.go ssh/tailssh: add envknob for default PATH 2022-12-15 15:01:04 -08:00
tailssh.go ssh/tailssh: fix typo in error message 2022-12-20 11:42:26 -08:00