TMAegisベータ
linux のその他のルール

Linux distributions

CIS-UBUNTU-5.2.10

Ensure SSH PermitEmptyPasswords is disabled

高レベル 1自動linux

説明

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

チェック方法

監査方法: シェルコマンド

shell
sshd -T 2>/dev/null | grep -i '^permitemptypasswords'
期待される出力
permitemptypasswords no

修正方法

修正方法: ファイル編集

ファイル
/etc/ssh/sshd_config
置換後の行
PermitEmptyPasswords no

プロパティ

オペレーティングシステム
ubuntu-22.04, ubuntu-24.04, rocky-9
タグ
sshserver
参照
CIS Ubuntu Linux / Rocky Linux Benchmarks - Ensure sshd PermitEmptyPasswords is disabled (verify section number for your release)

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target linux