You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ssh/tailssh
Andrew Dunham e985c6e58f ssh/tailssh: try fetching group IDs for user with the 'id' command
Since the tailscaled binaries that we distribute are static and don't
link cgo, we previously wouldn't fetch group IDs that are returned via
NSS. Try shelling out to the 'id' command, similar to how we call
'getent', to detect such cases.

Updates #11682

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I9bdc938bd76c71bc130d44a97cc2233064d64799
7 months ago
..
incubator.go ssh/tailssh: add envknobs to force override forwarding, sftp, pty 1 year ago
incubator_linux.go all: update copyright and license headers 2 years ago
privs_test.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
tailssh.go ipn/ipnlocal,ssh/tailssh: reject c2n /update if SSH conns are active (#11820) 7 months ago
tailssh_test.go all: use Go 1.22 range-over-int 7 months ago
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 7 months ago