码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2020-04-01 12:37:08      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:new   lis   backup   cron   ror   ever   pass   for   mysql   

执行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
 
 
https://www.cnblogs.com/likingzi/p/6691320.html

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

标签:new   lis   backup   cron   ror   ever   pass   for   mysql   

原文地址:https://www.cnblogs.com/liang545621/p/12611469.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!