解锁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.