SV-274140r1120408_rule
V-274140
SRG-OS-000480-GPOS-00225
AZLX-23-002390
CAT II
10
Configure Amazon Linux 2023 to prevent the use of dictionary words for passwords.
Add or update the following line in the "/etc/security/pwquality.conf" file or a configuration file in the /etc/pwquality.conf.d/ directory to contain the "dictcheck" parameter:
dictcheck=1
Verify Amazon Linux 2023 prevents the use of dictionary words for passwords with the following command:
$ sudo grep -rs dictcheck /etc/security/pwquality.conf /etc/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:dictcheck=1
If the "dictcheck" parameter is not set to "1", is commented out, or is missing, this is a finding.
V-274140
False
AZLX-23-002390
Verify Amazon Linux 2023 prevents the use of dictionary words for passwords with the following command:
$ sudo grep -rs dictcheck /etc/security/pwquality.conf /etc/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:dictcheck=1
If the "dictcheck" parameter is not set to "1", is commented out, or is missing, this is a finding.
M
5700