Red Hat Bugzilla – Bug 99115
redhat-config-users and useradd allowed user names not consistant
Last modified: 2007-04-18 12:55:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
redhat-config-users wholesale does not allow any punctuation in a user name.
However, useradd (from shadow-util) does allow the use of the dash ('-') and the
underscore ('_'). Adding a user with useradd with a dash or an underscore makes
that user effectively un-editable with redhat-config-users.
Since both utilities do pretty much the same thing, they need to be consistant
in what kind of user names they allow.
My biggest gripe right now is that from previous versions of Redhat to v9.0, the
ability to use a period ('.') in a user name as been removed. I assume that
this is deliberate, but I can not find any offical pronouncement of what makes a
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.Edit user joe-smith with User Manger
3.Make a change and try to save.
Actual Results: The user name 'joe-smith' contains punctuation characters.
Please do not use punctuation in the user name.
Expected Results: It should accept the changes?
Ok, I've changed it to allow underscores and dashes in both usernames and
groupnames. I will have to fix this in firstboot as well. Should be fixed in
*** Bug 101664 has been marked as a duplicate of this bug. ***
This fix is broken. :)
See bug #120669.