TMAegisBeta
Weitere Regeln für linux

Linux distributions

CIS-UBUNTU-5.2.10

Ensure SSH PermitEmptyPasswords is disabled

HochStufe 1Automatisiertlinux

Beschreibung

The PermitEmptyPasswords parameter specifies if the SSH server allows login to accounts with empty password strings.

So wird geprüft

Prüfmethode: Shell-Befehl

shell
sshd -T 2>/dev/null | grep -i '^permitemptypasswords'
Erwartete Ausgabe
permitemptypasswords no

So wird behoben

Behebungsmethode: Dateibearbeitung

Datei
/etc/ssh/sshd_config
Ersetzungszeile
PermitEmptyPasswords no

Eigenschaften

Betriebssysteme
ubuntu-22.04, ubuntu-24.04, rocky-9
Tags
sshserver
Referenz
CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure sshd PermitEmptyPasswords is disabled (verify section number for your release)

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