SV-274134r1120390_rule
V-274134
SRG-OS-000070-GPOS-00038
AZLX-23-002360
CAT II
10
Configure Amazon Linux 2023 to enforce password complexity by requiring that at least one lowercase character be used by setting the "lcredit" 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 "lcredit" parameter:
lcredit = -1
Remove any configurations that conflict with the above value.
Verify Amazon Linux 2023 enforces password complexity by requiring that at least one lowercase character with the following command:
$ sudo grep lcredit /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
lcredit = -1
If the value of "lcredit" is a positive number or is commented out, this is a finding.
V-274134
False
AZLX-23-002360
Verify Amazon Linux 2023 enforces password complexity by requiring that at least one lowercase character with the following command:
$ sudo grep lcredit /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
lcredit = -1
If the value of "lcredit" is a positive number or is commented out, this is a finding.
M
5700