mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 16:51:18 -08:00
When the ssh incubator runs the shell itself instead of using `su` or `login`, it needs to set the `$LOGNAME` environment variable. Just like OpenSSH `sshd`, it sets this to the same value as `$USER`. Updates tailscale/corp#50380 Signed-off-by: Percy Wegmann <[email protected]>