RHEL-09-255040 - RHEL 9 SSHD must not allow blank passwords.

Information

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

Solution

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:

$ sudo systemctl restart sshd.service

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V1R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT, IDENTIFICATION AND AUTHENTICATION

References: 800-53|CM-6b., 800-53|IA-2(2), CAT|I, CCI|CCI-000366, CCI|CCI-000766, Rule-ID|SV-257984r952179_rule, STIG-ID|RHEL-09-255040, Vuln-ID|V-257984

Plugin: Unix

Control ID: d12e0f8a48ac03ff4ba3ce18aa91334ede9cdc39e99b178098a1ec872773f1b4