mirror of https://github.com/tailscale/tailscale/
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>
pull/6914/head
parent
8047dfa2dc
commit
be67b8e75b
Loading…
Reference in New Issue