系统相关
首页 > 系统相关> > ubuntu更新密码策略

ubuntu更新密码策略

作者:互联网

root@UAT:/home/ubuntu# chage cmes
Changing the aging information for cmes
Enter the new value, or press ENTER for the default

    Minimum Password Age [0]: 
    Maximum Password Age [0]: 
    Last Password Change (YYYY-MM-DD) [2021-11-17]: 2099-11-17
    Password Expiration Warning [365]: 
    Password Inactive [0]: 
    Account Expiration Date (YYYY-MM-DD) [2099-11-13]: 

root@UAT:/home/ubuntu# chage -l cmes
Last password change : Nov 17, 2099
Password expires : Nov 17, 2099
Password inactive : Nov 17, 2099
Account expires : Nov 13, 2099
Minimum number of days between password change : 0
Maximum number of days between password change : 0
Number of days of warning before password expires : 365
root@UAT:/home/ubuntu# passwd cmes
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

标签:Password,17,cmes,更新,密码,ubuntu,password,2099
来源: https://blog.csdn.net/songxi_bo/article/details/121393190