zoukankan      html  css  js  c++  java
  • [ORACLE]ORA-28002 The password will expire within 7 days.将不能登录系统

    错误“ORA-28002 The password will expire within 7 days.  Cannot logon to the database“当在进程调度器上运行AE程序可能遇到这个错误,很多时候这个错误并不仅仅在进程调度器中出现,还有可能会在使用plsql developer或sqlplus访问数据库时候。

    遇到这样的错误是因为ConnectID账户或SYSADM账户在DBA_USERS表中已经过期,在11g以前版本这个问题从没出现过,因为账户设置的永不过期,在11g以后的版本,他们被hardcoded为有效期189天。

    如何解决“ORA-28002 The password will expire within 7 days. Cannot logon to the database”

    按照以下步骤解决问题:

    1、使用system账号登录数据库(不是sysadm)

    2、

    SQL> select account_status, profile from dba_users where username=’the PeopleSoft ConnectID’;
    SQL> select account_status, profile from dba_users where username=’sysadm’;

    3、用以下语句修改。

    SQL>ALTER PROFILE <Profile value from step 2> LIMIT PASSWORD_LIFE_TIME UNLIMITED;

    4、使用sqlplus登录到数据库并使用以下命令改密码。

    SQL>ALTER USER <PeopleSoft ConnectID> IDENTIFIED BY <current ConnectID password>;
    SQL>ALTER USER SYSADM IDENTIFIED BY <current SYSADM password>;

    如果感到对您有帮助没准儿你就会赞赏,iOS 专用赞赏通道:

  • 相关阅读:
    【BZOJ】3052: [wc2013]糖果公园
    【BZOJ】3757: 苹果树
    【BZOJ】1086: [SCOI2005]王室联邦
    【POJ】3648 Wedding
    【POJ】3678 Katu Puzzle
    【POJ】2296 Map Labeler
    【POJ】3207 Ikki's Story IV
    【HDU】1814 Peaceful Commission
    【HDU】2829 Lawrence
    【HDU】3480 Division
  • 原文地址:https://www.cnblogs.com/eason-liu/p/8053555.html
Copyright © 2011-2022 走看看