Authentication token is no longer valid; new one required You (oracle) are not allowed to access to
Posted winecork
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Authentication token is no longer valid; new one required You (oracle) are not allowed to access to 相关的知识,希望对你有一定的参考价值。
-bash-4.1$ crontab -e
Authentication token is no longer valid; new one required
You (oracle) are not allowed to access to (crontab) because of pam configuration.
-bash-4.1$ exit
logout
[root@db ~]# chage -l oracle
Last password change : Apr 30, 2020
Password expires : Jul 29, 2020
Password inactive : never
Account expires : never
Minimum number of days between password change : 90
Maximum number of days between password change : 90
Number of days of warning before password expires : 7
[root@db ~]# chage -M 99999 oracle //设置oracle密码永不过期
[root@db ~]# chage -l oracle
Last password change : Apr 30, 2020
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 90
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
[root@db ~]#
[root@db ~]#
[root@db ~]# su - oracle
-bash-4.1$ crontab -e //恢复正常
no crontab for oracle - using an empty one
以上是关于Authentication token is no longer valid; new one required You (oracle) are not allowed to access to 的主要内容,如果未能解决你的问题,请参考以下文章
What Is Token-Based Authentication and Who Uses It?
Authentication token is no longer valid; new one required You (oracle) are not allowed to access to
Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)
解决修改密码报错‘passwd:Authentication token’
Implement JSON Web Tokens Authentication in ASP.NET Web API and Identity 2.1