SV-215228r508663_rule
V-215228
SRG-OS-000380-GPOS-00165
AIX7-00-001131
CAT II
10
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"
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.
V-215228
False
AIX7-00-001131
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.
M
4012