Article Title: newbie School: users who have expired and modified in Linux operating systems. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Usage: chage [Option] User Name
Option:
-D, -- lastday: Set the last password to "last date"
-E, -- expiredate: Set the Account expiration time to "expiration date"
-H, -- help: displays the help information and exits.
-I, -- inactive: Set the password that expires due to expiration to "invalid password"
-L, -- list displays account age information
-M, -- mindays: set the minimum number of days between two password changes to "minimum number of days"
-M, -- maxdays the maximum number of days between two password changes is set to "Maximum number of days"
-W, -- warndays warning days set the days of expiration warning to "Warning days"
Common Methods:
[Root @ bigner ~] # Chage-d 3000-08-08 forker
[Root @ bigner ~] # Chage-M 5
[Root @ bigner ~] # Chage-E 3000-08-08 forker