Pages

Thursday, February 27, 2020

Manage Password expiration via Profile in Oracle

===========================
General
===========================
Make user password never expire:

SELECT username, profile, expiry_date 
  FROM DBA_USERS;

ALTER PROFILE DEFAULT LIMIT PASSWORD_REUSE_TIME UNLIMITED;
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME  UNLIMITED;


Users that were already expired, will not be affected by above statements, need to unlock them, and reset their password.
Only then the password expiration_date becomes NULL;


ALTER USER XXX IDENTIFIED BY YYY;

No comments:

Post a Comment