관리 메뉴

java,javascript,android,php,sql,공부용,메모용

Oracle 오라클 DBMS로 ... oracle: the password has expired. 비밀번호 만료 본문

개발/SQL

Oracle 오라클 DBMS로 ... oracle: the password has expired. 비밀번호 만료

yy_dd2 2021. 5. 13. 22:14
반응형

SQL 공부를 하고있는데 오라클 계정 접속하는데 오류가났다

oracle: the password has expired.

 

명령프롬프토 열고 

sqlplus /"as sysdba"

 

default 비번 만료 기한 확인

SQL> select * from dba_profiles where profile = 'DEFAULT';

-password_life_time의 값이 세팅을 하지 않은 경우 180일. 

 

default 비번 만료 기한 unlimited로 변경

SQL> alter profile default limit password_life_time unlimited;

 

SQL> alter user 계정명 account unlock;

- 계정 락 해제.

 

SQL> alter user 계정명 identified by 새비밀번호;

- 비번 변경

 

 

 

select * from dba_profiles where profile = 'DEFAULT';

alter profile default limit password_life_time unlimited;

SELECT EXPIRY_DATE FROM DBA_USERS WHERE USERNAME = '계정명 ';
ALTER USER 계정명 IDENTIFIED BY 계정명 ;
ALTER USER 계정명 ACCOUNT UNLOCK;

반응형
Comments