ORA-28001: the password has expired (DB접속 에러)

Oracle DB

ORA-28001: the password has expired 는 비밀번호 유효 기간이 만료되었을 때 출력 되는 에러 메시지입니다.

다음처럼 사용자 로그인 중에 ORA-28001가 표시되고 즉시 새로운 비밀번호를 재 설정할 수 있습니다.

C:\>sqlplus scott/tigerr@192.168.127.130/orcl

SQL*Plus: Release 12.2.0.1.0 Production on Mon Mar 1 19:31:52 2021
Copyright (c) 1982, 2016, Oracle.  All rights reserved.
ERROR:
ORA-28001: the password has expired

Changing password for scott
New password:tiger
Retype new password:tiger
Password changed

Connected to:
Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production
SQL>

또는 관리자 권한이 있는 사용자로 로그인 해서 비밀번호 유효 기간이 만료된 사용자의 새로운 비밀 번호 재 설정을 수행 할 수 있습니다.

C:\>sqlplus system/manager@192.168.127.130/orcl
SQL> alter user scott identified by tiger;
User altered.
SQL>

주의) ORA-28001은 비밀번호 유효 기간이 만료되었음을 경고하지만 ORA- 28002는 비밀번호가 곧 유예 기간에 만료 될 것이라고 경고합니다

제목과 URL을 복사했습니다