RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1264924 - '/usr/bin/userpasswd' shows invalid password error when it fails to change password due to minimum password age requirement
Summary: '/usr/bin/userpasswd' shows invalid password error when it fails to change pa...
Keywords:
Status: CLOSED DUPLICATE of bug 1264925
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: usermode
Version: 6.7
Hardware: All
OS: All
medium
low
Target Milestone: rc
: ---
Assignee: Miloslav Trmač
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-21 13:22 UTC by Siteshwar Vashisht
Modified: 2015-10-13 12:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-13 12:06:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Siteshwar Vashisht 2015-09-21 13:22:40 UTC
Description of problem:
'/usr/bin/userpasswd' shows invalid password error when it fails to change password due to minimum password age requirement

Version-Release number of selected component (if applicable):
usermode-1.102-3.el6.x86_64
usermode-gtk-1.102-3.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create a new user account with id 'test'.
2. Set minimum number of days between password changes by executing :

    chage --mindays=1 test

3. Execute '/usr/bin/userpasswd' and enter password for 'test' user.

Actual results:
Two error messages are displayed :

1. You must wait longer to change your password.
2. The password you typed is invalid. Please try again.

Expected results:
Only one error message should be displayed :

1. You must wait longer to change your password.

Comment 1 Miloslav Trmač 2015-10-13 12:06:00 UTC

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


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