Check: AIX7-00-001131
IBM AIX 7.x STIG:
AIX7-00-001131
(in versions v2 r9 through v1 r1)
Title
AIX must implement a way to force an identified temporary user to renew their password at next login. (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 login. 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
To force a temporary user to renew their password at next login, admins can set the "flags" attribute of the user to contain "ADMCHG" flag. To check the "flags" attribute for a temporary user (<tmp_user>), using the following command: # lsuser -a flags <tmp_user> If the above command displays a "no" value for the "flags" attribute, or the value of the attribute does not contain "ADMCHG", this is a finding.
Fix Text
Use the following command to force a temporary user (<tmp_user>) to change password at next login: # chsec -f /etc/security/passwd -s <tmp_user> -a "flags=ADMCHG"
Additional Identifiers
Rule ID: SV-215228r853458_rule
Vulnerability ID: V-215228
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 |