Red Hat Bugzilla – Bug 159034
useradd not allowing '.' in usernames
Last modified: 2016-06-01 09:03:31 EDT
Description of problem:
User/group names containing '.' are not allowed by U5 shadow-utils' useradd.
This is a regression. shadow-utils-4.0.3-23.04 seems to me to have it right but
it was broken again with -23.07.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. useradd joe.schmoe
useradd: invalid user name 'joe.schmoe'
Successful creation of account
Please re-examine the changes between -23.04 and -23.07 as I am fairly confident
they broke this and perhaps more.
Created attachment 114983 [details]
It's almost same patch as in RHEL-4 and devel.
Please let me now it works.
*** Bug 160469 has been marked as a duplicate of this bug. ***
After U6, the bug is still here. This is not so exciting as RHEL4 does not have
this bug and RHEL 2.1 does not have this bug too (and RHEL3 had not have this
bug in the past).
My (updated) patched packages are here:
Sorry - I did not used patch from comment #12 so '$' char has not been allowed.
New package is available from the URL above, auto-join to the Samba domain now
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.