mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-29 13:02:46 -08: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 <[email protected]>
(cherry picked from commit e4144230f4)