TMAegisBeta
Weitere Regeln für linux

Linux distributions

TMA-UBUNTU1404-4.1.2

Ensure auditd service is enabled

NiedrigStufe 2Automatisiertlinux

Beschreibung

Turn on the auditd daemon to record system events.

So wird geprüft

Prüfmethode: Shell-Befehl

shell
alt0() { command -v ls >/dev/null 2>&1 || { echo "step1: ls not installed"; return 1; }; o=$(bash -c 'ls /etc/rc*.d/S*auditd /etc/rc2.d/S37auditd  /etc/rc3.d/S37auditd  /etc/rc4.d/S37auditd /etc/rc5.d/S37auditd' 2>&1); printf '%s\n' "$o" | tr -s ' \t' '  ' | sed 's/^ //;s/ $//' | grep -Fxq -- 'Start links should exist for run levels 2, 3, 4, and 5.' || { echo step1: missing 'Start links should exist for run levels 2, 3, 4, and 5.'; return 1; }; }; if alt0; then echo compliant; fi
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Run the following command to enable auditd: # update-rc.d auditd enable

Eigenschaften

Betriebssysteme
ubuntu-14.04
Tags
cis-convertedlinux
Referenz
CIS Ubuntu Linux 14.04 LTS Benchmark v2.1.0 ARCHIVE - 4.1.2

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target linux --level 2