码迷,mamicode.com
首页 > 数据库 > 详细

Authentication token is no longer valid; new one required You (oracle) are not allowed to access to (crontab) because of pam configuration.

时间:2020-10-31 01:45:57      阅读:28      评论:0      收藏:0      [点我收藏+]

标签:not   oracle   ini   cron   过期   nim   number   crontab   logo   

-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 (crontab) because of pam configuration.

标签:not   oracle   ini   cron   过期   nim   number   crontab   logo   

原文地址:https://www.cnblogs.com/leisurelyRD/p/13901200.html

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