mirror of
https://github.com/tailscale/tailscale.git
synced 2026-07-25 14:56:25 -04:00
Reject leading dashes in usernames and add double dash to getent call
on linux to prevent values sent as usernames being interpreted as
command options.
Fixes https://github.com/tailscale/corp/issues/44813
Signed-off-by: Mario Minardi <mario@tailscale.com>
(cherry picked from commit e4144230f4)