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

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.

# chage -d 0 [UserName]

or

# passwd -e [UserName]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_18-04_LTS_V2R11_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002041, Rule-ID|SV-219183r853370_rule, STIG-ID|UBTU-18-010112, STIG-Legacy|SV-109697, STIG-Legacy|V-100593, Vuln-ID|V-219183

Plugin: Unix

Control ID: 8d66f7c9073d383f027c5ec2d1662e5df2290db7db47ed87931ffa8231251e30