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 (21 lines) | stat: -rw-r--r-- 1,251 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<def-group>
  <definition class="compliance" id="disable_ctrlaltdel_reboot" version="1">
    {{{ oval_metadata("By default, the system will reboot when the
      Ctrl-Alt-Del key sequence is pressed.", rule_title=rule_title) }}}
    <criteria>
      <criterion comment="Disable Ctrl-Alt-Del systemd softlink exists" test_ref="test_disable_ctrlaltdel_exists" />
    </criteria>
  </definition>
  <unix:symlink_test check="all" check_existence="all_exist" comment="Disable Ctrl-Alt-Del key sequence override exists" id="test_disable_ctrlaltdel_exists" version="1">
    <unix:object object_ref="object_disable_ctrlaltdel_exists" />
    <unix:state state_ref="state_disable_ctrlaltdel_exists" />
  </unix:symlink_test>
  <unix:symlink_object comment="Disable Ctrl-Alt-Del key sequence override exists" id="object_disable_ctrlaltdel_exists" version="1">
    <unix:filepath>/etc/systemd/system/ctrl-alt-del.target</unix:filepath>
  </unix:symlink_object>
  <unix:symlink_state comment="Disable Ctrl-Alt-Del key sequence override exists" id="state_disable_ctrlaltdel_exists" version="1">
    <unix:filepath>/etc/systemd/system/ctrl-alt-del.target</unix:filepath>
    <unix:canonical_path>/dev/null</unix:canonical_path>
  </unix:symlink_state>
</def-group>