Bug 6083 - password lock/unlock option working incorrectly !
password lock/unlock option working incorrectly !
Status: CLOSED DUPLICATE of bug 5449
Product: Red Hat Linux
Classification: Retired
Component: passwd (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-10-19 04:57 EDT by dll
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-02-05 15:18:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dll 1999-10-19 04:57:31 EDT
passwd command works incorrectly when using -l and -u
-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
... ;-(
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 08:32:59 EST
This bug duplicates bug #5449.
Comment 2 Bill Nottingham 2000-02-05 15:18:59 EST
*** This bug has been marked as a duplicate of 5449 ***

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