Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Alibaba Cloud Linux 2
System Settings
Account and Access Control
Protect Accounts by Restricting Password-Based Login
Set Password Expiration Parameters
Set Password Warning Age
Set Password Warning Age
An XCCDF Rule
Details
Profiles
Prose
Set Password Warning Age
Medium Severity
To specify how many days prior to password expiration that a warning will be issued to users, edit the file
/etc/login.defs
and add or correct the following line:
PASS_WARN_AGE
The DoD requirement is 7. The profile requirement is
.