UBTU-20-010440 - The Ubuntu operating system must allow the use of a temporary password for system logons with an immediate change to a permanent password.

Warning! Audit Deprecated

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

View Next Audit Version

Information

Without providing this capability, an account may be created without a password. Non-repudiation cannot be guaranteed once an account is created if a user is not forced to change the temporary password upon initial logon.

Temporary passwords are typically used to allow access when new accounts are created or passwords are changed. It is common practice for administrators to create temporary passwords for user accounts which allow the users to log on, yet force them to change the password once they have successfully authenticated.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Create a policy that ensures when a user is created, it is created using a method that forces a user to change their password upon their next login.

Below are two examples of how to create a user account that requires the user to change their password upon their next login.

$ sudo chage -d 0 [UserName]

or

$ sudo passwd -e [UserName]

See Also

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

Item Details

References: CAT|II, CCI|CCI-002041, Rule-ID|SV-238361r654258_rule, STIG-ID|UBTU-20-010440, Vuln-ID|V-238361

Plugin: Unix

Control ID: a9359c66fabeb9bcccc641cc25faade9b0c9189aaf6df43b8ef92ccf163a6ec8