Bug 1148008 - passwd -l and usermod -U don't work together
Summary: passwd -l and usermod -U don't work together
Keywords:
Status: CLOSED DUPLICATE of bug 951743
Alias: None
Product: Fedora
Classification: Fedora
Component: libuser
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-30 14:03 UTC by Marius Vollmer
Modified: 2014-09-30 17:56 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-30 14:21:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marius Vollmer 2014-09-30 14:03:48 UTC
passwd -l adds two "!" characters but usermod -U only removes one.  WTF.

http://unix.stackexchange.com/questions/109314/two-ways-to-lock-a-password-but-only-one-to-unlock

Comment 1 Tomas Mraz 2014-09-30 14:14:57 UTC

*** This bug has been marked as a duplicate of bug 864880 ***

Comment 2 Tomas Mraz 2014-09-30 14:18:31 UTC
Actually this is a bug in libuser - passwd manual page states that it adds only single ! with -l, but the libuser backend of passwd does otherwise.

Comment 3 Miloslav Trmač 2014-09-30 14:21:11 UTC
Changing the duplciate target just to be precise.

See also bug 853153, which is really the core issue in libuser, but the report specifically talks about (usermod -U).

*** This bug has been marked as a duplicate of bug 951743 ***

Comment 4 Marius Vollmer 2014-09-30 17:56:17 UTC
Upps, sorry for not checking for duplicates carefully enough.


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