Question : ORA-28002: the password will expire within 7 days

Hello Experts,

I am getting the following error:
ORA-28002: the password will expire within 7 days

I altered the default profile with:
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

And this query shows it is unlimited:
select LIMIT, RESOURCE_NAME from dba_profiles where RESOURCE_NAME in ('PASSWORD_GRACE_TIME','PASSWORD_LIFE_TIME','PASSWORD_REUSE_MAX','PASSWORD_REUSE_TIME') and PROFILE=(select profile from dba_users where username='XXXXX')
  2  ;

LIMIT                                    RESOURCE_NAME
---------------------------------------- --------------------------------
UNLIMITED                                PASSWORD_LIFE_TIME
UNLIMITED                                PASSWORD_REUSE_TIME
UNLIMITED                                PASSWORD_REUSE_MAX
7                                        PASSWORD_GRACE_TIME

However, when I log into the account, I am still getting the same error:
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Jun 29 09:16:11 2010
Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

Enter user-name: xxxxx
Enter password:
ERROR:
ORA-28002: the password will expire within 7 days

Connected to:
Oracle Database 11g Release 11.1.0.6.0 - 64bit Production

Answer : ORA-28002: the password will expire within 7 days

You altered the profile, but you still need to change the password.

If you wish you can keep the same password and issue the following command

ALTER USER <> IDENTIFIED BY <oldpassword>

Since you changed the profile, going forward it should not ask for the password change

Random Solutions  
 
programming4us programming4us