UCF STIG Viewer Logo

AIX must implement a way to force an identified temporary user to renew their password at next login.


Overview

Finding ID Version Rule ID IA Controls Severity
V-215228 AIX7-00-001131 SV-215228r508663_rule Medium
Description
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.
STIG Date
IBM AIX 7.x Security Technical Implementation Guide 2022-06-06

Details

Check Text ( C-16426r294135_chk )
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 (), using the following command:
# lsuser -a flags

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 (F-16424r294136_fix)
Use the following command to force a temporary user () to change password at next login:
# chsec -f /etc/security/passwd -s -a "flags=ADMCHG"