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;
    
  • 相关阅读:
    企业云盘安全性如何 怎样部署
    Sentinel 控制台部署
    nginx代理静态页面添加二级目录
    java socket
    IDEA
    golang代码生成器
    es 单节点问题
    代码模板
    错误摘要 HTTP 错误 403.14
    安装.Net Framework 4.6.2无法安装的2种情况
  • 原文地址:https://www.cnblogs.com/ikoo4396/p/8146145.html
Copyright © 2011-2022 走看看