SV-274133r1120387_rule
V-274133
SRG-OS-000069-GPOS-00037
AZLX-23-002355
CAT II
10
Configure Amazon Linux 2023 to enforce password complexity by requiring that at least one uppercase character be used by setting the "ucredit" option.
Add or update the following line in the "/etc/security/pwquality.conf" file or a configuration file in the "/etc/security/pwquality.conf.d/" directory to contain the "ucredit" parameter:
ucredit = -1
Remove any configurations that conflict with the above value.
Verify Amazon Linux 2023 enforces password complexity by requiring that at least one uppercase character with the following command:
$ sudo grep ucredit /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
ucredit = -1
If the value of "ucredit" is a positive number or is commented out, this is a finding.
V-274133
False
AZLX-23-002355
Verify Amazon Linux 2023 enforces password complexity by requiring that at least one uppercase character with the following command:
$ sudo grep ucredit /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
ucredit = -1
If the value of "ucredit" is a positive number or is commented out, this is a finding.
M
5700