Check: UBTU-18-010112
Canonical Ubuntu 18.04 LTS STIG:
UBTU-18-010112
(in versions v2 r14 through v2 r9)
Title
The Ubuntu operating system must allow the use of a temporary password for system logons with an immediate change to a permanent password. (Cat II impact)
Discussion
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.
Check Content
Verify a policy exists that ensures when a user account is created, it is created using a method that forces a user to change their password upon their next login. If a policy does not exist, this is a finding.
Fix Text
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]
Additional Identifiers
Rule ID: SV-219183r853370_rule
Vulnerability ID: V-219183
Group Title: SRG-OS-000380-GPOS-00165
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002041 |
The information system allows the use of a temporary password for system logons with an immediate change to a permanent password. |
Controls
Number | Title |
---|---|
IA-5 (1) |
Password-Based Authentication |