You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Set an Expiration Date for Local User Passwords 

edited Jul 23, 2024 8:59AM in Linux 1 comment

Applies to: 

Linux OS - Version Oracle Linux 6.9 and later 

Linux x86-64 
 

Goal 

This document describes how to set expiration dates/intervals for local user passwords on Oracle Linux. 

Solution 

To enhance system security, System Administrators can implement user password expiry using the chage(1) command. Setting password expiry dates or intervals forces users to regularly change their passwords. 

Password expiration dates are calculated by adding the maximum number of days a user can keep the same password to the last date a user changed it's password. 

To set a password expiry date for a local user's account, follow these steps: 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!