登陆提示密码过期
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for user .
Current password:
处理
- 管理员登陆jumpserver
- 修改用户密码
- 用securecrt登陆该用户,发现问题依旧
- chage -l 用户名 // 查看用户密码过期时间
- 修改宿主机的密码策略 vim /etc/login.def PASS_MAX_DAYS 99999
- ansible TestCvm -m shell -a “chage -M -1 username” // 设置某个用户的密码过期时间永不过期