From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera
Description of problem:
useradd can not handle usernames containing punctuation and
usermanagement crushes if You enter a user manualy into
passwd/group/shadow with a segmentation fault even if You delete the
user from this files - so I'll have to reinstall the system...
I can no longer add or delete ANY user
I was migrating users from Redhat 7.3, when this problem occured.
I think it's the same bug as
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.enter a user manually
Actual Results: 1: useradd: invalid username
2: useradd: segmentation fault
Expected Results: user some.user should have been created
Created attachment 99651 [details]
Patch to add username with dot support to shadow-utils
Here is a small and simple patch for usernames with dot support in shadow
I tested it and it seems to work... apply it on shadow-utils source dir with
-p0, file to be patched is libmisc/chkname.c
we now allow dots (and mixed case), but not other puctuation.