<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/15/13 4:28 PM, Maura Dailey
wrote:<br>
</div>
<blockquote cite="mid:525DA569.3080400@eclipse.ncsc.mil" type="cite">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-unicode">The alternative, by the way,
is to delete the check entirely, if no profiles reference it.
<br>
<br>
On 10/15/2013 04:05 PM, Maura Dailey wrote:
<br>
<blockquote type="cite" style="color: #000000;">Somewhat
confusingly, the name of the check for pam_cracklib's minclass
option was accounts_password_minclass_login_defs.xml. I
corrected it and the id of the check inside the file.
<br>
<br>
- Maura Dailey
<br>
<br>
Signed-off-by: Maura Dailey <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:maura@eclipse.ncsc.mil"><maura@eclipse.ncsc.mil></a>
<br>
---
<br>
.../accounts_password_pam_cracklib_minclass.xml | 43
++++++++++++++++++++
<br>
1 files changed, 43 insertions(+), 0 deletions(-)
<br>
create mode 100644
RHEL6/input/checks/accounts_password_pam_cracklib_minclass.xml
<br>
<br>
diff --git
a/RHEL6/input/checks/accounts_password_pam_cracklib_minclass.xml
b/RHEL6/input/checks/accounts_password_pam_cracklib_minclass.xml
<br>
new file mode 100644
<br>
index 0000000..539164b
<br>
--- /dev/null
<br>
+++
b/RHEL6/input/checks/accounts_password_pam_cracklib_minclass.xml
<br>
@@ -0,0 +1,43 @@
<br>
+<def-group>
<br>
+ <definition class="compliance"
id="accounts_password_pam_cracklib_minclass" version="1">
<br>
+ <metadata>
<br>
+ <title>Set Password minclass
Requirements</title>
<br>
+ <affected family="unix">
<br>
+ <platform>Red Hat Enterprise Linux
6</platform>
<br>
+ </affected>
<br>
+ <description>The password minclass should meet
minimum
<br>
+ requirements using pam_cracklib</description>
<br>
+ </metadata>
<br>
+ <criteria>
<br>
+ <criterion comment="Conditions for minclass are
satisfied"
<br>
+
test_ref="test_password_pam_cracklib_minclass" />
<br>
+ </criteria>
<br>
+ </definition>
<br>
+
<br>
+ <ind:textfilecontent54_test check="all"
<br>
+ comment="check the
configuration of /etc/pam.d/system-auth"
<br>
+
id="test_password_pam_cracklib_minclass" version="1">
<br>
+ <ind:object
object_ref="obj_password_pam_cracklib_minclass" />
<br>
+ <ind:state
state_ref="state_password_pam_cracklib_minclass" />
<br>
+ </ind:textfilecontent54_test>
<br>
+
<br>
+ <ind:textfilecontent54_state
id="state_password_pam_cracklib_minclass"
<br>
+ version="1">
<br>
+ <ind:instance datatype="int">1</ind:instance>
<br>
+ <ind:subexpression datatype="int"
<br>
+ operation="less than or equal"
<br>
+
var_ref="var_password_pam_cracklib_minclass" />
<br>
+ </ind:textfilecontent54_state>
<br>
+
<br>
+ <external_variable comment="External variable for
pam_cracklib minclass"
<br>
+ datatype="int"
id="var_password_pam_cracklib_minclass"
<br>
+ version="1" />
<br>
+
<br>
+ <ind:textfilecontent54_object
id="obj_password_pam_cracklib_minclass"
<br>
+ version="1">
<br>
+ <ind:path>/etc/pam.d</ind:path>
<br>
+ <ind:filename>system-auth</ind:filename>
<br>
+ <ind:pattern operation="pattern
match">^[\s]*password[\s]+(?:(?:required)|(?:requisite))[\s]+[\w_\.\-=\s]+[\s]minclass=(-?\d+)(?:[\s]|$)</ind:pattern><br>
+ <ind:instance datatype="int" operation="less than or
equal">1</ind:instance>
<br>
+ </ind:textfilecontent54_object>
<br>
+</def-group>
<br>
</blockquote>
</div>
</blockquote>
<br>
Between the accounts_password_pam_cracklib_{dcredit ucredit ocredit
lcredit} checks I'm unsure if this is even needed (as further
evident by no profile calling the check)...<br>
<br>
ack to the rename, though<br>
</body>
</html>