TMAegisBeta
Más reglas para linux

Linux distributions

CIS-UBUNTU-5.2.10

Ensure SSH PermitEmptyPasswords is disabled

AltaNivel 1Automatizadalinux

Descripción

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

Cómo se verifica

Método de auditoría: Comando de shell

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

Cómo se corrige

Método de corrección: Edición de archivo

Archivo
/etc/ssh/sshd_config
Línea de reemplazo
PermitEmptyPasswords no

Propiedades

Sistemas operativos
ubuntu-22.04, ubuntu-24.04, rocky-9
Etiquetas
sshserver
Referencia
CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure sshd PermitEmptyPasswords is disabled (verify section number for your release)

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target linux