STIGhubSTIGhub
STIGhub— A free STIG search and compliance tool·STIGs updated just now
Powered by Pylon·Privacy·Terms·Feedback·© 2026 Beacon Cloud Solutions, Inc.
← Back to Oracle Linux 8 Security Technical Implementation Guide

V-248696

CAT II (Medium)

OL 8 user account passwords must have a 180-day maximum password lifetime restriction.

Rule ID

SV-248696r1261631_rule

STIG

Oracle Linux 8 Security Technical Implementation Guide

Version

V2R10

CCIs

CCI-000199CCI-004066

Discussion

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

Check Content

Verify OL 8 enforces a 180-day maximum password lifetime for new user accounts by running the following command:

$ grep PASS_MAX_DAYS /etc/login.defs

PASS_MAX_DAYS 180

If the "PASS_MAX_DAYS" parameter value is greater than "180", is not set, or is commented out, this is a finding.

Fix Text

Configure OL 8 to enforce a 180-day maximum password lifetime.

Modify the "/etc/login.defs" file to set the "PASS_MAX_DAYS" parameter to 180 or greater:

PASS_MAX_DAYS 180