UBTU-22-611060 - Ubuntu 22.04 LTS must not allow accounts configured with blank or null passwords.

Information

If an account has an empty password, anyone could log on and run commands with the privileges of that account. Accounts with empty passwords must never be used in operational environments.

Solution

Remove any instances of the "nullok" option in "/etc/pam.d/common-password" to prevent logons with empty passwords.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-260570r991589_rule, STIG-ID|UBTU-22-611060, Vuln-ID|V-260570

Plugin: Unix

Control ID: c6f695137ff28fc03fd7b63de72e9aa61d63db77b0900d6d7113c563cb6d7bdb