OL08-00-020260 - The OL 8 system-auth file must disable access to the system for account identifiers (individuals, groups, roles, and devices) with 35 days of inactivity.

Information

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.

OL 8 needs to track periods of inactivity and disable application identifiers after 35 days of inactivity.

Solution

Configure OL 8 to disable access to the system for account identifiers with 35 days of inactivity.

Add/Modify the following line to '/etc/pam.d/system-auth' above the 'pam_unix.so' statement:

auth required pam_lastlog.so inactive=35

Note: The DoD recommendation is 35 days, but a lower value is acceptable.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_8_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000795, Rule-ID|SV-248703r779675_rule, STIG-ID|OL08-00-020260, Vuln-ID|V-248703

Plugin: Unix

Control ID: a11d6b280944a5e5d109cb0985fd88cfa472fb62b28b3c6b67836433d5a17f34