UBTU-20-010055 - The Ubuntu operating system must enforce password complexity by requiring that at least one special character be used.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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 in determining 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.

Special characters are those characters that are not alphanumeric. Examples include: ~ ! @ # $ % ^ *.

Solution

Configure the Ubuntu operating system to enforce password complexity by requiring that at least one special character be used.

Add or update the following line in the '/etc/security/pwquality.conf' file to include the 'ocredit=-1' parameter:

ocredit=-1

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R5_STIG.zip

Item Details

References: CAT|III, CCI|CCI-001619, Rule-ID|SV-238226r653853_rule, STIG-ID|UBTU-20-010055, Vuln-ID|V-238226

Plugin: Unix

Control ID: b06850acfc6f8fb1ed7f49a364a7bbb13b264d566b53d9e5ace7d0e1d53a99fd