[solution] ORA-28002: the password will expire within xx days

  1. connect to db:
sqlplus /nolog
connect / as sysdba;
  1. To alter the password expiry policy for a certain user profile in Oracle first check wich profile the user is in using:
select profile from DBA_USERS where username = '';
  1. Then you can change the limit to never expire using:
alter profile  limit password_life_time UNLIMITED;

If you want to previously check the limit you may use:

select resource_name,limit from dba_profiles where profile='';
  1. then unlock the user
ALTER USER  ACCOUNT UNLOCK;
OR
ALTER USER  identified by  account unlock;

你可能感兴趣的:([solution] ORA-28002: the password will expire within xx days)