zoukankan      html  css  js  c++  java
  • 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$ 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
      

  • 相关阅读:
    mysql的导出与导入命令的使用
    kendo ui 左侧弹出分享框
    Pytorch离线安装方法
    Python单词接龙小程序
    Shell结束指定名称的进程
    Shell脚本sed命令修改文件的某一行
    Shell中单双引号的区别
    矩阵问题
    泛型通配符详解
    合并链表
  • 原文地址:https://www.cnblogs.com/leisurelyRD/p/13901200.html
Copyright © 2011-2022 走看看