Friday, 14 October 2016

How to Manage Linux Users expiration or aging settings



As system admin on Linux and Unix bases systems is very important that you have a good knowledge on how to manage and deal with your Users password expiration or aging settings.
The utility that i prefer for this task is called chage.
The chage command changes the number of days between password changes and the date of the last password change. This information is used by the system to determine when a user must change his/her password.
Options and syntax of the chage command: 


  • To list current aging type chage command as follows:

Let’s see how we can alter this definitions
How to alter the “Maximum number of days between password change”


How to alter the “Number of days of warning before password expires”
Also we we can do this on single line

No comments: