Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 7476

Summary: usermod with -p option creates an entry in /etc/passwd
Product: [Retired] Red Hat Raw Hide Reporter: jaume.llarden
Component: shadow-utilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-12-01 12:15:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jaume.llarden 1999-12-01 11:49:08 UTC
I've noticed that when using shadow passwords, the
command 'usermod -p <encrypted password> user' updates the
entry in /etc/shadow, but also creates an entry in
/etc/passwd! I've tested it with the RPM that came with RedHat 6.0
and with latest RPM available (shadow-utils-19990827-2.i386.rpm)
and in two different machines.

Comment 1 Bernhard Rosenkraenzer 1999-12-01 12:15:59 UTC
Happens here too... Working on it.

Comment 2 Bernhard Rosenkraenzer 2000-08-08 15:42:00 UTC
Fixed.