mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-31 23:52:30 -04: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 <percy@tailscale.com>