SV-215180r508663_rule
V-215180
SRG-OS-000123-GPOS-00064
AIX7-00-001014
CAT II
10
From the command prompt, run the following command to set the "expires" value to "72" hours from now:
# chuser expires=1228093516 <emergency_user>
The "expires" value parameter is a 10-character string in the MMDDhhmmyy form, where MM = month, DD = day, hh = hour, mm = minute, and yy = last 2 digits of the years 1939 through 2038. All characters are numeric.
Obtain a list of emergency accounts from the ISSO/ISSM and then run this command against each of the identified accounts:
# lsuser -a expires <emergency_user>
The above command should yield the following output:
<emergency_user> expires=0
Or
<emergency_user> expires=1215103116
The "expires" value parameter is a 10-character string in the MMDDhhmmyy form, where MM = month, DD = day, hh = hour, mm = minute, and yy = last 2 digits of the years 1939 through 2038. All characters are numeric. If the Value parameter is 0, the account does not expire.
If "expires" value is "0", or the expiration time is greater than "72" hours from the user creation time, this is a finding.
V-215180
False
AIX7-00-001014
Obtain a list of emergency accounts from the ISSO/ISSM and then run this command against each of the identified accounts:
# lsuser -a expires <emergency_user>
The above command should yield the following output:
<emergency_user> expires=0
Or
<emergency_user> expires=1215103116
The "expires" value parameter is a 10-character string in the MMDDhhmmyy form, where MM = month, DD = day, hh = hour, mm = minute, and yy = last 2 digits of the years 1939 through 2038. All characters are numeric. If the Value parameter is 0, the account does not expire.
If "expires" value is "0", or the expiration time is greater than "72" hours from the user creation time, this is a finding.
M
4012