Rule version PHTN-30-000035 · STIG v1 · 2026-08-31
Inactive identifiers pose a risk to systems and applications because attackers may exploit an inactive identifier and potentially obtain undetected access to the system. Owners of inactive accounts will not notice if unauthorized access to their user account has been obtained.
Disabling inactive accounts ensures accounts that may not have been responsibly removed are not available to attackers who may have compromised their credentials.
At the command line, run the following command:
# grep INACTIVE /etc/default/useradd
Expected result:
INACTIVE=0
If the output does not match the expected result, this is a finding.
Navigate to and open:
/etc/default/useradd
Remove an existing "INACTIVE" line and add the following line:
INACTIVE=0