如何解除Oracle 帐号锁定(the account is locked)或者Oracle system用户忘记密码的解决方法

http://www.cnblogs.com/Golf9527

Oracle 系统用户忘记密码的解决方法

如何解除Oracle 帐号锁定(the account is locked)

一、问题

    使用system账号登录oracle,系统提示如下:

    

二、解决办法

  1、使用oracle用户登录系统

  2、执行如下步骤:

  3、运行-cmd

      4、 sqlplus /nolog

  5、SQL> connect /as sysdba
    提示:Connected.

  6、SQL> alter user system account unlock;

    提示:User altered.

三、锁定账号方法

  1、SQL> alter user system account lock;

    提示:User altered.

四、修改帐号口令

  1、SQL> ALTER USER system IDENTIFIED BY newpassword;

原文地址:https://www.cnblogs.com/Golf9527/p/2616217.html