Red Hat Bugzilla – Bug 64795
Bad: useradd does not add a user name that starts with a number.
Last modified: 2007-04-18 12:42:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Description of problem:
When adding a user name that starts with a number i.e. 255test useradd will not
add the user saying that it is an invalid user name. I can add a user name
that starts with a number through the start here user maintenance graphics mode.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Use the useradd command line as follows:
2./usr/sbin/useradd -d /home/255test -g users -s /bin/bash -m 255test
3.It works like this every time.
Actual Results: No user was added.
Expected Results: The user should have been added.
We have same problem with Red Hat 7.3. Well, is good policy, but how can I
you can't disable it. this is by design. the first character must be
alphanumeric, although in the next release you may mix case.