SV-230374r627750_rule
V-230374
SRG-OS-000123-GPOS-00064
RHEL-08-020270
CAT II
10
If an emergency account must be created, configure the system to terminate the account after 72 hours with the following command to set an expiration date for the account. Substitute "system_account_name" with the account to be created.
$ sudo chage -E `date -d "+3 days" +%Y-%m-%d` system_account_name
The automatic expiration or disabling time period may be extended as needed until the crisis is resolved.
Verify emergency accounts have been provisioned with an expiration date of 72 hours.
For every existing emergency account, run the following command to obtain its account expiration information.
$ sudo chage -l system_account_name
Verify each of these accounts has an expiration date set within 72 hours.
If any emergency accounts have no expiration date set or do not expire within 72 hours, this is a finding.
V-230374
False
RHEL-08-020270
Verify emergency accounts have been provisioned with an expiration date of 72 hours.
For every existing emergency account, run the following command to obtain its account expiration information.
$ sudo chage -l system_account_name
Verify each of these accounts has an expiration date set within 72 hours.
If any emergency accounts have no expiration date set or do not expire within 72 hours, this is a finding.
M
2921