Since you are posting in the "Oracle 5,6, & 7" forum, then you may be out of luck. But if your version of Oracle is at least Oracle 8i, then, yes, you can audit logins by user and last-login time. I do that auditing on every instance we have. And it is extremely useful...it helps us determine which users we can drop and whick users to keep.
Let us know to what version of Oracle your need applies.
I believe that 8i (vers. 8.1.x), at minimum, is necessary to audit logins.
(BTW, is there a good reason that you are using a version from ten years ago? Doesn't your company want to use all the cool features in Oracle 9i and 10g that they've paid for (if they are current on their maintenance)?)
Let me know if you want to persue the login-audit solution.
Does that mean that the company does not have a maintenance agreement with Oracle? If that is the case, then I can understand their decision.
If you are running 8.0.6, then having Oracle audit logins will take so much "thinking outside the box", that I'm not willing to do that much thinking "for free" right now.
We have a 7.3.4 Oracle database which we set audit_trail = DB in the parameter file then issued the audit session command. I use the sys.dba_audit_session view which I use to check last successful and unsuccessful login attempts through a script.
Not a problem. Basically this was to satisfy an audit requirement to track unsuccessful database login attempts for SARBOX at my company who is still running (against my wishes) Oracle 7.
set audit_trail = DB
The audit session command was issued
Below is the script I use to capture the data. I had trouble finding all the possible return code values from the dba_audit_session view but after scouring enough documentation on Metalink I was able to find some.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.