Linux distributions
TMA-ROCKY8-6.2.1.1.1
Ensure journald service is active
SrednjaNivo 1Automatskalinux
Opis
Ensure that the systemd-journald service is enabled to allow capturing of logging events.
Kako se proverava
Metod provere: Komanda ljuske
shell
alt0() { command -v systemctl >/dev/null 2>&1 || { echo "step1: systemctl not installed"; return 1; }; o=$(bash -c 'systemctl is-active systemd-journald.service' 2>&1); printf '%s\n' "$o" | tr -s ' \t' ' ' | sed 's/^ //;s/ $//' | grep -Fxq -- active || { echo step1: missing active; return 1; }; }; if alt0; then echo compliant; fi- Očekivani izlaz
compliant
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
Run the following commands to unmask, enable, and start systemd- journald.service # systemctl unmask systemd-journald.service # systemctl --now enable systemd-journald.service
Svojstva
- Operativni sistemi
- rocky-8
- Oznake
- cis-convertedlinux
- Referenca
- CIS Rocky Linux 8 Benchmark v3.0.0 - 6.2.1.1.1
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target linux