Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)

Posted 长城之上是千亿的星空,星空之上是不灭的守望。

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)相关的知识,希望对你有一定的参考价值。

执行crontab
[root@FMPVZABBIX mysql_backup]# tail -f /var/log/cron
Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) PAM ERROR (Authentication token is no longer valid; new one required)
Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
Jul 16 14:12:34 FMPVZABBIX crontab[13523]: (root) LIST (root)
Jul 16 14:20:01 FMPVZABBIX crond[16530]: (root) PAM ERROR (Authentication token is no longer valid; new one required)
Jul 16 14:20:01 FMPVZABBIX crond[16530]: (root) FAILED to authorize user with PAM (Authentication token is no longer valid; new one required)
 
 
[root@FMPVZABBIX ~]# chage -l root
Last password change : Feb 10, 2018
Password expires : May 11, 2018
Password inactive : never
Account expires : never
Minimum number of days between password change : 1
Maximum number of days between password change : 90
Number of days of warning before password expires : 7
 
 
解决办法:
 chage -M 9999 root
 
 
 

以上是关于Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)的主要内容,如果未能解决你的问题,请参考以下文章

linux用户密码过期

linux下怎么设置用户的密码不过期?

linux怎么设置密码过期时间

linux密码过期 程序会关闭吗

linux系统开机总提醒pin码过期怎么办

关于spring-data-mongodb用户名密码登录报错问题:Failed to authenticate to database