How to Find When a User’s Password Was Last Changed in Oracle
Learn how to track when a user's password was last changed in Oracle with SQL queries and methods for effective monitoring.
Someone reported a login error:
ORA-01017: invalid username/password; logon deniedIf you suspect a password change has occurred without notification, you can quickly verify the last password change datetime in Oracle using the following query:
SELECT PASSWORD_CHANGE_DATE
FROM DBA_USERS
WHERE USERNAME = 'W3BUDDY';Output Example:
PASSWORD_CHANGE_DATE
--------------------
2024-06-17 11:34:52This confirms the exact date and time the password for user W3BUDDY was last modified. Ensure you have sufficient privileges to query the DBA_USERS view.
Also read this:
Was this helpful?
Thanks for your feedback!


