Created
February 9, 2014 20:21
-
-
Save K0NRAD/8905395 to your computer and use it in GitHub Desktop.
Unlock Oracle user account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT username, account_status FROM dba_users; | |
ALTER USER <user> ACCOUNT UNLOCK; | |
ALTER USER <user> IDENTIFIED BY <password>; | |
SELECT profile FROM dba_users WHERE username = <user>; | |
ALTER profile DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED PASSWORD_LIFE_TIME UNLIMITED; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment