Oracle
 sql >> Database >  >> RDS >> Oracle

ORA-28001:la password è scaduta non risolvibile

Supponendo che Oracle DB (dovrebbe funzionare anche per SAMPLE di Oracle-XE) sia su Unix, ssh-in e :

sqlplus /nolog

SQL> connect / as SYSDBA
Connected.

SQL> SELECT username, account_status FROM dba_users WHERE ACCOUNT_STATUS LIKE '%EXPIRED%';
# ... your locked account should be listed ...

SQL> ALTER USER sample IDENTIFIED BY sample;         
User altered.

SQL> ALTER USER sample ACCOUNT UNLOCK;
User altered.

SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Profile altered.

SQL> exit