TMAegisBeta
linux için daha fazla kural

Linux distributions

CIS-UBUNTU-5.2.10

Ensure SSH PermitEmptyPasswords is disabled

YüksekDüzey 1Otomatiklinux

Açıklama

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

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
sshd -T 2>/dev/null | grep -i '^permitemptypasswords'
Beklenen çıktı
permitemptypasswords no

Nasıl düzeltilir

Düzeltme yöntemi: Dosya düzenleme

Dosya
/etc/ssh/sshd_config
Değiştirilecek satır
PermitEmptyPasswords no

Özellikler

İşletim sistemleri
ubuntu-22.04, ubuntu-24.04, rocky-9
Etiketler
sshserver
Referans
CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure sshd PermitEmptyPasswords is disabled (verify section number for your release)

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target linux