AZLX-23-002355 - Amazon Linux 2023 must enforce password complexity by requiring that at least one uppercase character be used.

Information

Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks.

Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised.

Satisfies: SRG-OS-000069-GPOS-00037, SRG-OS-000725-GPOS-00180

Solution

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.

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a), 800-53|IA-5(1)(f), CAT|II, CCI|CCI-004064, CCI|CCI-004066, Rule-ID|SV-274133r1120387_rule, STIG-ID|AZLX-23-002355, Vuln-ID|V-274133

Plugin: Unix

Control ID: 65c9e8421d8371021eec332b37d4e30d3172c0d7fb7a3a8434a0efd4d920a674