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 OpenEmbedded
System Settings
Account and Access Control
Protect Accounts by Restricting Password-Based Login
Set Account Expiration Parameters
Set Account Expiration Following Inactivity
Set Account Expiration Following Inactivity
An XCCDF Rule
Details
Profiles
Prose
Set Account Expiration Following Inactivity
Medium Severity
To specify the number of days after a password expires (which signifies inactivity) until an account is permanently disabled, add or correct the following line in
/etc/default/useradd
:
INACTIVE=
If a password is currently on the verge of expiration, then
day(s) remain(s) until the account is automatically disabled. However, if the password will not expire for another 60 days, then 60 days plus
day(s) could elapse until the account would be automatically disabled. See the
useradd
man page for more information.