As reported in canonical/authd#1487
Attempting to use passwd command for UPN formatted usernames fails
$ sudo passwd <user>@<domain>
passwd: Provided user name is not a valid name
It is failing because this function call was added is_valid_user_name(). The @ character isn't in the allowed set, causing passwd user@domain.com to fail.
As reported in canonical/authd#1487
Attempting to use
passwdcommand for UPN formatted usernames failsIt is failing because this function call was added
is_valid_user_name(). The@character isn't in the allowed set, causingpasswd user@domain.comto fail.