Red Hat Bugzilla – Bug 251081
Corruption of passwd
Last modified: 2007-11-30 17:12:12 EST
Description of problem:
Colon character permitted
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start the system-config-users utility from the Gnome menu
2. Select add new user button
3. Enter the user name as TEST
4. Enter a password of 123456 in both fields
5. Enter a colon as the first character in the path field and press OK
The user creates; but, the passwd file is messed up.
The colon character should be rejected. Other fields i.e. the User name stop
the colon character.
I think the colon character is only accepted when input as the first character
of the home directory or the shell path. Now that passwd is corrupt the system-
config-user utility no longer loads. The detail above may not be 100% accurate
as I am locked out, due to passwd being corrupt. I have tried to remeber the
steps from memory. When I am backup I will double check and repeat the test.
fixed in upstream Hg repository
BTW: username stops a colon as the first character only due to another different
system-config-users-1.2.64-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
system-config-users-1.2.64-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.