File: shared.xml

package info (click to toggle)
scap-security-guide 0.1.76-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 110,644 kB
  • sloc: xml: 241,883; sh: 73,777; python: 32,527; makefile: 27
file content (20 lines) | stat: -rw-r--r-- 1,075 bytes parent folder | download | duplicates (2)
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") }}}
    <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>