The SUSE operating system must be configured to create or update passwords with a maximum lifetime of 60 days.

STIG ID: SLES-15-020220  |  SRG: SRG-OS-000076-GPOS-00044 |  Severity: medium |  CCI: CCI-000199 |  Vulnerability Id: V-234891 | 

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).