'database/ORACLE'에 해당되는 글 93건

  1. 2013.05.30 ORA-28000: the account is locked

반응형

 

ORA-28000: the account is locked
Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the DBA has locked the account
 
Action: Wait for PASSWORD_LOCK_TIME or contact DBA

# sqlplus /nolog

SQL> connect /as sysdba
Connected.

SQL> select username, account_status from dba_users;

USERNAME                       ACCOUNT_STATUS
------------------------------ --------------------------------
USER1                          LOCKED(TIMED)
HR                             EXPIRED & LOCKED
SH                             EXPIRED & LOCKED
SCOTT                          EXPIRED & LOCKED
SYS                            OPEN
SYSTEM                         OPEN
:
:
:

SQL> alter user 유저이름 account unlock;

User altered.

SQL>

 

 

패스워드 LOCK횟수 확인하기

#> sqlplus "/as sysdab" --system계정으로 로그인
...
SQL> SELECT U.USERNAME,P.PROFILE, P.RESOURCE_NAME, P.LIMIT
         FROM DBA_USERS U, DBA_PROFILES P WHERE P.PROFILE=U.PROFILE
         AND RESOURCE_NAME='FAILED_LOGIN_ATTEMPTS';
 ...

 

 

추가 RESOURCE_NAME 관련

 

USERNAME PROFILE RESOURCE_NAME LIMIT 설명
SCOTT DEFAULT PASSWORD_GRACE_TIME UNLIMITED PASSWORD_LIFE_TIME 후 지정한 시간동안 경고
SCOTT DEFAULT PASSWORD_LOCK_TIME UNLIMITED 잠금된후 지정된 시간이 지나면 잠금이 풀림
SCOTT DEFAULT PASSWORD_VERIFY_FUNCTION NULL 복잡한 암호에 대한 검증 로직을 구현할때
SCOTT DEFAULT PASSWORD_REUSE_MAX UNLIMITED 암호를 재사용할수 있는 횟수
SCOTT DEFAULT PASSWORD_REUSE_TIME UNLIMITED 지정한 일수 동안 암호를 재사용할수 없음
SCOTT DEFAULT PASSWORD_LIFE_TIME UNLIMITED 지정된 시간이 지나면 암호가 만기가 됨
SCOTT DEFAULT FAILED_LOGIN_ATTEMPTS 10 로그인시도 실패횟수
SCOTT DEFAULT PRIVATE_SGA UNLIMITED  
SCOTT DEFAULT CONNECT_TIME UNLIMITED  
SCOTT DEFAULT IDLE_TIME UNLIMITED  
SCOTT DEFAULT LOGICAL_READS_PER_CALL UNLIMITED  
SCOTT DEFAULT LOGICAL_READS_PER_SESSION UNLIMITED  
SCOTT DEFAULT CPU_PER_CALL UNLIMITED  
SCOTT DEFAULT CPU_PER_SESSION UNLIMITED  
SCOTT DEFAULT SESSIONS_PER_USER UNLIMITED  
SCOTT DEFAULT COMPOSITE_LIMIT UNLIMITED  

 

 


 

반응형
Posted by 공간사랑
,