zoukankan      html  css  js  c++  java
  • 解锁oracle用户的方法

    [oracle@dhm ~]$ sqlplus /nolog

    SQL*Plus: Release 11.2.0.1.0 Production on Wed May 11 11:08:55 2016

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    SQL> connect / as sysdba;

    Connected.

    SQL> select * from dba_profiles where resource_name like 'FAILED_LOGIN_ATTEMPTS%';

    PROFILE                  RESOURCE_NAME                       RESOURCE

    ------------------------------ -------------------------------- --------

    LIMIT

    ----------------------------------------

    DEFAULT                          FAILED_LOGIN_ATTEMPTS                  PASSWORD

    10

    SQL> alter profile default limit FAILED_LOGIN_ATTEMPTS unlimited;

    Profile altered.

    SQL> select * from dba_profiles where resource_name like 'FAILED_LOGIN_ATTEMPTS%';

    PROFILE                  RESOURCE_NAME                       RESOURCE

    ------------------------------ -------------------------------- --------

    LIMIT

    ----------------------------------------

    DEFAULT                          FAILED_LOGIN_ATTEMPTS                  PASSWORD

    UNLIMITED

    SQL> alter user cms account unlock;

    User altered.

  • 相关阅读:
    Linux下使用Eclipse 远程调试
    关于Mysql分区和分表
    Mysql点滴
    父窗口与iFrame之间调用方法和元素
    pl/sql developer安装使用即时客户端
    Java的四大基础特性
    Get与Post的小知识
    ibatis 中 $与#的区别
    Eclipse安装配置Maven
    Git学习
  • 原文地址:https://www.cnblogs.com/LBeautiful/p/10579183.html
Copyright © 2011-2022 走看看