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 625096 - The 'passwd' command displays 'Changing password for $user' twice.
Summary: The 'passwd' command displays 'Changing password for $user' twice.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pam
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-18 15:28 UTC by Asha Akkiangady
Modified: 2021-06-10 10:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 658289 (view as bug list)
Environment:
Last Closed: 2010-11-29 21:40:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Asha Akkiangady 2010-08-18 15:28:12 UTC
Description of problem:
The 'passwd' command displays 'Changing password for $user' twice.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Login to Rhel 6 desktop.

2. Type 'passwd'.

[tester@dhcp231-173 ~]$ passwd
Changing password for user tester.
Changing password for tester.
(current) UNIX password: 
  
Actual results:
'Changing password for $user' displayed twice.

Ray Strode took a brief look at this,  "/usr/bin/passwd | grep "Chaning password" shows it has the "Changing password for user" string. Individual pam modules have the second string.

Expected results:
'Changing password for $user' should be displayed once.

[tester@dhcp231-173 ~]$ passwd
Changing password for user tester.
(current) UNIX password: 

Additional info:

Comment 2 Tomas Mraz 2010-08-18 15:50:51 UTC
Cosmetic issue and no regression from RHEL-5.

Comment 3 Asha Akkiangady 2010-08-18 16:04:14 UTC
Version-Release number of selected component:
passwd-0.77-4.el6

Comment 4 Tomas Mraz 2010-08-18 16:16:51 UTC
And it is really questionable where this should be changed, but most probably the message from the PAM module should be removed rather than the passwd message.

The question is if that couldn't break other things that call PAM password changing routines such as expired password handling in ssh or login.

Comment 5 Tomas Mraz 2010-11-29 21:40:39 UTC
I'm closing WONTFIX for RHEL-6. I'll clone it for Fedora so we can fix it for RHEL-7.


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