Vulnerability Discussion
Any password, no matter how complex, can eventually be cracked. Therefore, passwords need to be changed periodically. If the SUSE operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the SUSE operating system passwords could be compromised.
Check
Verify that the SUSE operating system is configured to create or update passwords with a maximum password age of 60 days or less.
Check that the SUSE operating system enforces 60 days or less as the maximum password age with the following command:
> grep '^PASS_MAX_DAYS' /etc/login.defs
The DOD requirement is "60" days or less (greater than zero, as zero days will lock the account immediately).
If no output is produced, or if "PASS_MAX_DAYS" is not set to "60" days or less, this is a finding.
Fix
Configure the SUSE operating system to enforce a maximum password age of 60 days or less.
Edit the file "/etc/login.defs" and add or correct the following line. Replace [DAYS] with the appropriate amount of days:
PASS_MAX_DAYS [DAYS]
The DOD requirement is 60 days or less (greater than zero, as zero days will lock the account immediately).