UBTU-20-010409 - The Ubuntu operating system must disable account identifiers (individuals, groups, roles, and devices) after 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.

Operating systems need to track periods of inactivity and disable application identifiers after 35 days of inactivity.

Solution

Configure the Ubuntu operating system to disable account identifiers after 35 days of inactivity since the password expiration.

Run the following command to change the configuration for adduser:

$ sudo useradd -D -f 35

Note: DoD recommendation is 35 days, but a lower value is acceptable. The value '0' will disable the account immediately after the password expires.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V2R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-4e., CAT|II, CCI|CCI-000795, CCI|CCI-003627, Rule-ID|SV-238330r1015154_rule, STIG-ID|UBTU-20-010409, Vuln-ID|V-238330

Plugin: Unix

Control ID: f59b5769df493240370cde095422b9ea3f828f242bf24705e1e0cf2e30fb6cc8