how do i find the login failuers of an user in the auditing?

Posted on 2011-03-24
Last Modified: 2012-05-11
hi i enabled auditing on my database.i want to see the login failures of a user.let me know that.thanks
Question by:Cha1tu
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 74

Accepted Solution

sdstuber earned 500 total points
ID: 35209476
look in dba_audit_trail

where ACTION_NAME = LOGON  and returncode != 0

Author Comment

ID: 35384049
can we find the users login failues > 5.

how many failure logins >5 ?


Author Comment

ID: 35384193
I would like to know if there is any way we can find out the number of login failures of a user. If we can find out, I am interested in filtering out those users whose login failures were greater than 5 and their number of failures(count of failures)
LVL 74

Assisted Solution

sdstuber earned 500 total points
ID: 35388025
select username, count(*) from dba_audit_trail
where ACTION_NAME = LOGON  and returncode != 0
group by username
having count(*) > 5

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This post first appeared at Oracleinaction  ( Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question