Bug 251081 - Corruption of passwd
Corruption of passwd
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-users (Show other bugs)
7
i386 Linux
low Severity low
: ---
: ---
Assigned To: Nils Philippsen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-06 19:08 EDT by ray hammond
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version: 1.2.64-1.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-09-17 23:20:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description ray hammond 2007-08-06 19:08:48 EDT
Description of problem:
Colon character permitted

Version-Release number of selected component (if applicable):
1.2.60

How reproducible:
Everytime

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
 
Actual results:
The user creates; but, the passwd file is messed up.

Expected results:
The colon character should be rejected.  Other fields i.e. the User name stop 
the colon character. 


Additional info:

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.
Comment 1 Nils Philippsen 2007-08-07 09:05:24 EDT
fixed in upstream Hg repository
Comment 2 Nils Philippsen 2007-08-07 09:11:54 EDT
BTW: username stops a colon as the first character only due to another different
check.
Comment 3 Fedora Update System 2007-08-17 12:12:35 EDT
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.
Comment 4 Fedora Update System 2007-09-17 23:20:17 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.