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_V1R12_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: 635693d41e9a4e95ba091bf3beea23be61b98eb6ec6ecbc31ee01276f7433fa3