Bug 487298

Summary: pam_unix uses md5 to store old passwords in opasswd
Product: [Fedora] Fedora Reporter: Miloslav Trmač <mitr>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jokajak, tmraz
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-01 15:02:23 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:
Bug Depends On:    
Bug Blocks: 485249, 517000    

Description Miloslav Trmač 2009-02-25 11:41:06 UTC
It should use SHA-2 if it is used for /etc/shadow.

Comment 1 Bug Zapper 2009-06-09 11:38:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Tomas Mraz 2009-08-14 12:53:40 UTC
As the password saving in pam_unix is considered as legacy functionality in upstream and the preferred way of password history handling is pam_pwhistory I don't think it is much worth it to enhance pam_unix this way.

Comment 3 Josh 2013-07-08 16:39:22 UTC
Is it a good idea to be leaving this potentially broken functionality in pam_unix rather than removing it or fixing it?

Perhaps update the man page for pam_unix stating that the remember parameter is legacy and pam_pwhistory should be used instead

Comment 4 Tomas Mraz 2016-11-01 15:02:23 UTC
The pam_unix manpage already mentions that.