SV-99231r1_rule
V-88581
SRG-OS-000118-GPOS-00060
VROM-SL-000705
CAT II
10
Configure SLES for vRealize to disable account identifiers after "35" days of inactivity after the password expiration. Run the following command to change the configuration for useradd:
Replace [VALUE] in the command with any integer from the range 0<[VALUE]<= 35.
# sed -i "s/^.*\bINACTIVE\b.*$/INACTIVE=[VALUE]/" /etc/default/useradd
DoD recommendation is "35" days, but a lower value is acceptable. The value "-1" will disable this feature and "0" will disable the account immediately after the password expires.
Verify SLES for vRealize disables account identifiers after "35" days of inactivity after the password expiration, by performing the following commands:
# grep "INACTIVE" /etc/default/useradd
The output must indicate the "INACTIVE" configuration option is set to an appropriate integer as shown in the example below:
grep "INACTIVE" /etc/default/useradd
INACTIVE=35
If "INACTIVE" is not set to a value 0<[VALUE]<=35, this is a finding.
V-88581
False
VROM-SL-000705
Verify SLES for vRealize disables account identifiers after "35" days of inactivity after the password expiration, by performing the following commands:
# grep "INACTIVE" /etc/default/useradd
The output must indicate the "INACTIVE" configuration option is set to an appropriate integer as shown in the example below:
grep "INACTIVE" /etc/default/useradd
INACTIVE=35
If "INACTIVE" is not set to a value 0<[VALUE]<=35, this is a finding.
M
3461