zoukankan      html  css  js  c++  java
  • Oracle

    嘻嘻

    Microsoft Windows [版本 10.0.16299.125]
    (c) 2017 Microsoft Corporation。保留所有权利。
    
    C:Userszhouk>sqlplus
    
    SQL*Plus: Release 11.2.0.1.0 Production on 星期五 12月 29 20:01:03 2017
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    请输入用户名:  sys as sysdba
    输入口令:
    
    连接到:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> alter user scott account unlock;
    
    用户已更改。
    
    SQL> commit;
    
    提交完成。
    
    SQL> conn scott/tiger
    ERROR:
    ORA-28001: the password has expired
    
    
    更改 scott 的口令
    新口令:
    重新键入新口令:
    口令已更改
    已连接。
    SQL>
    

    如图:

     alter user scott account unlock; 后,并且 commit; 后,也还可以这么操作的...

    SQL> commit;
    
    提交完成。
    
    SQL> alter user scott identified by tiger;
    
    SQL> conn scott/tiger
    

    修改普通用户的密码,可以这么操作

    SQL> alter user username identified by password;
    
  • 相关阅读:
    银行代码
    c#第二章
    c#第一章
    S1304HTML内测测试分析
    HTML第九章
    HTML第八章
    HTML第七章
    Jupyter Notebook与Jupyterhub的安装与配置
    如果你要拍一部微电影
    针对Excel的vbs操作
  • 原文地址:https://www.cnblogs.com/ikoo4396/p/8146145.html
Copyright © 2011-2022 走看看