TMAegisBeta
Weitere Regeln für linux

Linux distributions

TMA-SLES11-2.1.8

Ensure telnet server is not enabled

MittelStufe 1Automatisiertlinux

Beschreibung

The telnet-server package contains the telnet daemon, which accepts connections from users from other systems via the telnet protocol.

So wird geprüft

Prüfmethode: Shell-Befehl

shell
alt0() { command -v chkconfig >/dev/null 2>&1 || { echo "step1: chkconfig not installed"; return 1; }; o=$(bash -c 'chkconfig --list' 2>&1); printf '%s\n' "$o" | tr -s ' \t' '  ' | sed 's/^ //;s/ $//' | grep -Fxq -- 'xinetd based services:' || { echo step1: missing 'xinetd based services:'; return 1; }; printf '%s\n' "$o" | tr -s ' \t' '  ' | sed 's/^ //;s/ $//' | grep -Fxq -- 'telnet: off' || { echo step1: missing 'telnet: off'; return 1; }; }; if alt0; then echo compliant; fi
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Run the following command to disable telnet: # chkconfig telnet off

Eigenschaften

Betriebssysteme
sles-11
Tags
cis-convertedlinux
Referenz
CIS SUSE Linux Enterprise 11 Benchmark v2.1.1 - 2.1.8

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