tailscale/ssh/tailssh
Kristoffer Dalby 0e0e53d3b3 util/usermetrics: make usermetrics non-global
this commit changes usermetrics to be non-global, this is a building
block for correct metrics if a go process runs multiple tsnets or
in tests.

Updates #13420
Updates tailscale/corp#22075

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-09-25 15:57:00 +02:00
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
incubator.go ssh/tailssh: add ability to force V2 behavior using new feature flag 2024-08-29 15:02:58 -05:00
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
tailssh_integration_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
tailssh_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
tailssh.go util/slicesx: add FirstElementEqual and LastElementEqual 2024-09-11 18:36:00 -07:00
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 2024-04-23 08:54:17 -05:00