📜  linux 密码过期日期 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:31.261000             🧑  作者: Mango

代码示例1
Syntax: # chage -M number-of-days username

# chage -M 10 dhinesh

# chage --list dhinesh
Last password change                                    : Apr 23, 2009
Password expires                                        : May 03, 2009
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 10
Number of days of warning before password expires       : 7