• 工作总结
  • 工作计划
  • 心得体会
  • 述职报告
  • 思想汇报
  • 发言讲话稿
  • 演讲稿
  • 申请书
  • 读后感
  • 报告材料
  • 策划方案
  • 当前位置: 写作资料库 > 其他范文 > 正文

    【Oracle解除对SCOTT/TIGER用户的锁定】win7用户锁定怎么解除

    时间:2018-08-15 16:37:10 来源:写作资料库 本文已影响 写作资料库手机站

    Oracle 解除对SCOTT/TIGER用户的锁定

    1、查证目前系统对于SCOTT用户的状态:

    select * from dba_users where upper(username)="SCOTT";

    ACCOUNT_STATUS:EXPIRED & LOCKED

    2、解除对于SCOTT用户的锁定:

    conn sys/bitservice@ttonline as sysdba;

    alter user scott account unlock;

    select * from dba_users where upper(username)="SCOTT";

    ACCOUNT_STATUS:EXPIRED

    3、连接SCOTT用户:

    conn scott/tiger@ttonline;提示该用户已经过期,请重新输入新的密码:tiger

    conn scott/tiger@ttonline;此次可以正常连接此用户。

    4、查看SCOTT用户的状态:

    conn sys/bitservice@ttonline as sysdba;

    select * from dba_users where upper(username)="SCOTT";

    ACCOUNT_STATUS:OPEN