File: shared.xml

package info (click to toggle)
scap-security-guide 0.1.78-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 114,600 kB
  • sloc: xml: 245,305; sh: 84,381; python: 33,093; makefile: 27
file content (20 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<def-group>
  <definition class="compliance" id="enable_pam_namespace" version="1">
    {{{ oval_metadata("Check presence of pam_namespace.so module in the /etc/pam.d/login file", rule_title=rule_title) }}}
    <criteria operator="AND" comment="Check that /etc/pam.d/login contains a line with certain text">
      <criterion comment="Check that /etc/pam.d/login contains a line with certain text" test_ref="test_enable_pam_namespace" />
    </criteria>
  </definition>

  <ind:textfilecontent54_test check="all"
    comment="tests the presence of pam_namespace.so module in the /etc/pam.d/login file"
    id="test_enable_pam_namespace" version="1">
  <ind:object object_ref="obj_enable_pam_namespace" />
  </ind:textfilecontent54_test>

  <ind:textfilecontent54_object id="obj_enable_pam_namespace" version="1">
    <ind:filepath>/etc/pam.d/login</ind:filepath>
    <ind:pattern operation="pattern match">^\s*session\s+required\s+pam_namespace\.so\s*$</ind:pattern>
    <ind:instance operation="greater than or equal" datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>