-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
useradd suggests --badname when it won't help (username too long) #584
Comments
The length check (< 32 characters) is still enforced. If you drop 3 chars from the username, does it then proceed? |
Yes, but that's the wrong username :) |
Oh. I was thinking this was a regression from when For something constructive... I suppose useradd shouldn't tell me to use |
Indeed, that's an unfortunate mis-direction. |
I'm not sure if I changed something or if you changed something, but I noticed today that...
apparently works fine:
(this is with shadow-4.14.2 on Gentoo). If the length limit is gone, then this issue is resolved. |
The username length limit has been moved to 256 to align with the kernel limit. |
Thanks, I see it now in While you have to try a lot harder (at least on linux), I guess this suggestion is still misleading:
|
Opened #986 to update it |
The text was updated successfully, but these errors were encountered: