Bug 6083

Summary: password lock/unlock option working incorrectly !
Product: [Retired] Red Hat Linux Reporter: dll
Component: passwdAssignee: Cristian Gafton <gafton>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.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: 2000-02-05 20:18:54 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 dll 1999-10-19 08:57:31 UTC
passwd command works incorrectly when using -l and -u
options.
-u option do not recover hash properly and cause
impossibility for the
target user to log in. Example:

iser test.
his hash from /etc/shadow is CodMKO/mkdJ2I
now root enters #passwd -l test
now in /etc/shadow tests's hash is !CodMKO/mkdJ2I
That's ok. Now trying #passwd -u test
passwd writes Success. Opening /etc/shadow and tests's hash
is:
CodMKO/mkdJ2I~E^U@^P
... ;-(
now user test will never be able to log in.... and root
should munaully
edit /etc/shadow to correct the problem.

Thanks, Dmitri

Comment 1 maavl 1999-11-23 13:32:59 UTC
This bug duplicates bug #5449.

Comment 2 Bill Nottingham 2000-02-05 20:18:59 UTC
*** This bug has been marked as a duplicate of 5449 ***