RHEL 9 SSHD must not allow blank passwords.
An XCCDF Rule
Description
<VulnDiscussion>If an account has an empty password, anyone could log on and run commands with the privileges of that account. Accounts with empty passwords should never be used in operational environments. Satisfies: SRG-OS-000106-GPOS-00053, SRG-OS-000480-GPOS-00229, SRG-OS-000480-GPOS-00227</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-257984r1014848_rule
- Severity
- High
- References
- Updated
Remediation - Manual Procedure
To configure the system to prevent SSH users from logging on with blank passwords edit the following line in "etc/ssh/sshd_config":
PermitEmptyPasswords no
Restart the SSH daemon for the settings to take effect: