Bug 1372061

Summary: RHEL 7.3 beta error: PAM maxclassrepeat not configured
Product: Red Hat Enterprise Linux 7 Reporter: Shawn Wells <swells>
Component: scap-security-guideAssignee: Watson Yuuma Sato <wsato>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: mhaicman, mpreisle, openscap-maint, zmoravec
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.32-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 12:23:38 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 Shawn Wells 2016-08-31 19:55:52 UTC
When deploying a system against the DOD STIG Upstream profile, the following checklist item remains non-compliant:

- CCE-27512-3: xccdf_org.ssgproject.content_rule_accounts_password_pam_maxclassrepeat

Item remains non-compliant after the installation, and when attempting to remediate post-installation via "oscap xccdf eval --remediate..."

Comment 1 Shawn Wells 2016-08-31 20:22:23 UTC
Note this has been fixed upstream via https://github.com/OpenSCAP/scap-security-guide/pull/1393

Comment 6 Marek Haicman 2017-04-26 11:49:37 UTC
Test performed by SSG Test Suite prototype

OLD ===
[0 root@qeos-103 ~]# rpm -q scap-security-guide
scap-security-guide-0.1.30-3.el7.noarch

./perform_remediation_checks.sh maxclassrepeat
# Performing pam/accouts_password_pam_maxclassrepeat/clean
FAIL: Remediation for pam/accouts_password_pam_maxclassrepeat/clean is probably missing!
# Performing pam/accouts_password_pam_maxclassrepeat/comment
FAIL: Remediation for pam/accouts_password_pam_maxclassrepeat/comment is probably missing!
# Performing pam/accouts_password_pam_maxclassrepeat/line_not_there
FAIL: Remediation for pam/accouts_password_pam_maxclassrepeat/line_not_there is probably missing!
# Performing pam/accouts_password_pam_maxclassrepeat/wrong_value_greater
FAIL: Remediation for pam/accouts_password_pam_maxclassrepeat/wrong_value_greater is probably missing!
# Performing pam/accouts_password_pam_maxclassrepeat/wrong_value_lesser
FAIL: Remediation for pam/accouts_password_pam_maxclassrepeat/wrong_value_lesser is probably missing!


NEW ===
[0 root@qeos-106 ~]# rpm -q scap-security-guide
scap-security-guide-0.1.32-1.el7.noarch

./perform_remediation_checks.sh maxclassrepeat
# Performing pam/accouts_password_pam_maxclassrepeat/clean
# Performing pam/accouts_password_pam_maxclassrepeat/comment
# Performing pam/accouts_password_pam_maxclassrepeat/line_not_there
# Performing pam/accouts_password_pam_maxclassrepeat/wrong_value_greater
# Performing pam/accouts_password_pam_maxclassrepeat/wrong_value_lesser

Comment 7 errata-xmlrpc 2017-08-01 12:23:38 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://access.redhat.com/errata/RHBA-2017:2064