Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 87455 - pam_unix remember= parameter produces errors
pam_unix remember= parameter produces errors
Status: CLOSED DUPLICATE of bug 127524
Product: Red Hat Linux
Classification: Retired
Component: pam (Show other bugs)
athlon Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2003-03-26 20:15 EST by Adam Wiggins
Modified: 2015-01-07 19:04 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 13:52:22 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 Adam Wiggins 2003-03-26 20:15:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207

Description of problem:
Trying to use the remember= parameter of the pam_unix.so module to store past
passwords in /etc/opasswd produces the following.  I modified
/etc/pam.d/system-auth to contain:

password    required      /lib/security/pam_cracklib.so retry=3 type=
password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5
shadow remember=3
password    required      /lib/security/pam_deny.so

Then when any user tries to change their password...

[test@ash test]$ passwd
Changing password for user test.
Changing password for test
(current) UNIX password:
New password:
Retype new password:
Password has been already used. Choose another.
Password has been already used. Choose another.
Password has been already used. Choose another.
passwd: Authentication token manipulation error
[test@ash test]$

I am quite certain that the password I am using has not been used before.  Plus,
there is /etc/opasswd!

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

How reproducible:

Steps to Reproduce:
1. append remember=3 to line 11 of /etc/pam.d/system-auth
2. try to change a user's password with passwd

Additional info:
Comment 1 Need Real Name 2003-05-24 12:36:14 EDT
The fix is to touch /etc/security/opasswd.  This should probably be done by the
install process, doncha' think?
Comment 2 Jindrich Novy 2004-09-21 04:39:05 EDT

*** This bug has been marked as a duplicate of 127524 ***
Comment 3 Red Hat Bugzilla 2006-02-21 13:52:22 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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