DBA Hub

📋Steps in this guide1/1

Find who locked your account

-- Return code 1017 ( INVALID LOGIN ATTEMPT) -- Return code 28000 ( ACCOUNT LOCKED)

oracle configurationintermediate
by OracleDba
14 views
1

Find who locked your account

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
-- Return code 1017 ( INVALID LOGIN ATTEMPT)
-- Return code 28000 ( ACCOUNT LOCKED)
set pagesize 1299
set lines 299
col username for a15
col userhost for a13
col timestamp for a39
col terminal for a23
SELECT username,userhost,terminal,timestamp,returncode
FROM dba_audit_session
WHERE username='&USER_NAME' and returncode in (1017,28000);

Comments (0)

Please to add comments

No comments yet. Be the first to comment!