tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
16.89k stars 1.28k forks source link

ssh/tailssh: fall back to using su when no TTY available on Linux #11910

Open oxtoacart opened 3 weeks ago

oxtoacart commented 3 weeks ago

This allows pam authentication to run, triggering automation like pam_mkhomedir.

Updates #11854

bradfitz commented 2 weeks ago

@awly @raggi, can you two look at this too?

oxtoacart commented 2 weeks ago

This links to tailscale/corp#11854, which is probably the wrong issue. It would be great to see a description of the problem this PR solves for context (sorry if I missed it somewhere!)

Sorry, wrong repo. See #11854.