UCF STIG Viewer Logo

The SUSE operating system must employ user passwords with a maximum lifetime of 60 days.


Finding ID Version Rule ID IA Controls Severity
V-234892 SLES-15-020230 SV-234892r622137_rule Medium
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.
SUSE Linux Enterprise Server 15 Security Technical Implementation Guide 2022-12-07


Check Text ( C-38080r618945_chk )
Verify that the SUSE operating system enforces a maximum user password age of 60 days or less.

Check that the SUSE operating system enforces 60 days or less as the maximum user password age with the following command:

> sudo awk -F: '$5 > 60 || $5 == "" {print $1 ":" $5}' /etc/shadow

If any results are returned that are not associated with a system account, this is a finding.
Fix Text (F-38043r618946_fix)
Configure the SUSE operating system to enforce a maximum password age of each [USER] account to 60 days. The command in the check text will give a list of users that need to be updated to be in compliance:

> sudo passwd -x 60 [USER]

The DoD requirement is 60 days.