Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1178967

Summary: pam_cracklib replaced by pam_pwquality
Product: Red Hat Enterprise Linux 7 Reporter: Erinn Looney-Triggs <erinn.looneytriggs>
Component: scap-security-guideAssignee: Jan Lieskovsky <jlieskov>
Status: CLOSED ERRATA QA Contact: Marek Haicman <mhaicman>
Severity: low Docs Contact: Lenka Špačková <lkuprova>
Priority: unspecified    
Version: 7.0CC: mhaicman, pbokoc, slukasik, swells
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.23-1.el7 Doc Type: Bug Fix
Doc Text:
Instructions for correcting a compliance error reported by a SCAP Security Guide scan against the "Protect Accounts by Configuring PAM" group were not applicable to Red Hat Enterprise Linux 7. This update provides updated instructions (XCCDF prose) which recommend using the "pam_pwquality" PAM module for enforcing strong passwords.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:59:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Erinn Looney-Triggs 2015-01-05 19:33:59 UTC
Using the scap security guide pam_cracklib is referred to, however, by default pam_pwquality is used in RHEL 7. It is backwards compatible with pam_cracklib so just an update mentioning pam_pwquality should suffice.

-Erinn

Comment 2 Jan Lieskovsky 2015-01-06 10:56:49 UTC
Thank you for the report, Erinn.

SCAP Security Guide upstream is aware of this PAM modules transition and working on updating the content to reflect that.

Comment 4 Jan Lieskovsky 2015-06-12 10:10:07 UTC
Upstream PR finishing the 'pam_cracklib' to 'pam_pwquality' transition for RHEL/7 and Fedora products is the following:
  [1] https://github.com/OpenSCAP/scap-security-guide/pull/579

After this change being applied, there are just four occurrences of 'pam_cracklib' left in RHEL/7 and Fedora content:

* for RHEL/7:

  $ pwd
  .. /scap-security-guide/RHEL/7

  $ grep -rHn 'pam_cracklib'
  input/system/accounts/pam.xml:97:The <tt>pam_cracklib</tt> PAM module can also provide strength
  input/system/accounts/pam.xml:105:The man pages <tt>pam_pwquality(8)</tt> and <tt>pam_cracklib(8)</tt>

* for Fedora:

  $ pwd
  .. scap-security-guide/Fedora

  $ grep -rHn "pam_cracklib" *
  input/system/accounts/pam.xml:95:The <tt>pam_cracklib</tt> PAM module can also provide strength
  input/system/accounts/pam.xml:108:The man pages <tt>pam_pwquality(8)</tt>, <tt>pam_cracklib(8)</tt>, and

These are just text entries mentioning that 'pam_cracklib' modules is available besides the default 'pam_pwquality' PAM module too, and mentioning the 'pam_cracklib' modules manual page for the case it would be preferred for use.

Other occurrences of 'pam_cracklib' module in the OVAL checks and remediation scripts have been replaced upstream already by previous fixes (the list is too long to be in patch-by-patch manner listed here).

Comment 7 errata-xmlrpc 2015-11-19 11:59:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2363.html