UBTU-24-400310 - Ubuntu 24.04 LTS must enforce a 60-day maximum password lifetime restriction. Passwords for new users must have a 60-day maximum password lifetime restriction.

Information

Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If Ubuntu 24.04 LTS does not limit the lifetime of passwords and force users to change their passwords, there is the risk that Ubuntu 24.04 LTS passwords could be compromised.

Satisfies: SRG-OS-000076-GPOS-00044, SRG-OS-000730-GPOS-00190

Solution

Configure Ubuntu 24.04 LTS to enforce a 60-day maximum password lifetime.

Add or modify the following line in the "/etc/login.defs" file:

PASS_MAX_DAYS 60

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_24-04_LTS_V1R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(a), CAT|II, CCI|CCI-004065, CCI|CCI-004066, Rule-ID|SV-270731r1066682_rule, STIG-ID|UBTU-24-400310, Vuln-ID|V-270731

Plugin: Unix

Control ID: 6f0f12c0822b400f459b3d4f984700e381e02f2332c12804a5751eb46411313b