1) Find the Profile attached to your user
select username,profile
from dba_users
where username ='SCOTT'
order by 2,1
2) Find the Password Expiry period for that profile
select *
from dba_profiles
where profile = 'DEFAULT'
and resource_name = 'PASSWORD_LIFE_TIME'
3) Change "PASSWORD_LIFE_TIME" to UNLIMITED
Alter Profile DEFAULT Limit PASSWORD_LIFE_TIME UNLIMITED;
4) Query the Profile again to check the new limit
No comments:
Post a Comment