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_V2R2_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-257984r1014848_rule, STIG-ID|RHEL-09-255040, Vuln-ID|V-257984

Plugin: Unix

Control ID: 2072c1ce6d8609e3a1bb66ac393d0bdf124b003413cf5235efa543b763e11c0c