Linux 更改用户有效信息
mail:~# chage -l username
Last password change : Oct 07, 2016
Password expires : never
Password inactive : never
Account expires : Dec 07, 2016
Minimum number of days between password change : -1
Maximum number of days between password change : -1
Number of days of warning before password expires : -1
使用下面指令
chage -I -1 -m -1 -M -1 -E -1 username
结果将会是
mail:~# chage -l username
Last password change : Jan 19, 2016
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : -1
Maximum number of days between password change : -1
Number of days of warning before password expires : -1