Solved

How do you set up auditing in Oracle 10g?

Posted on 2008-06-23
5
859 Views
Last Modified: 2013-12-18
Hi,

       I need to set up auditing for two users only, admin and operator. What are the steps in setting up  auditing in Oracle 10g? How do I view the logs? How would I delete logs after so many days to prevent system lock-up?
I have read a few articles but the are a bit confusing to me.

THanks, MissyMadi
0
Comment
Question by:missymadi
  • 2
  • 2
5 Comments
 
LVL 17

Expert Comment

by:ram_0218
ID: 21848554
http://www.oracle-base.com/articles/10g/Auditing_10gR2.php

you cant escape you need to go over this :-)
0
 

Author Comment

by:missymadi
ID: 21848814
One other question regarding Auditing. Once auditing is set up, how do you set permissions on the sys.aud$ table? What is the sytax (SQLPLUS)  to view the existing permissions on this table?
0
 
LVL 17

Accepted Solution

by:
ram_0218 earned 65 total points
ID: 21848947
Only users who have been granted specific access to SYS.AUD$ can access the table to read, alter or delete from it. This is usually just the user SYS or any user who has had permissions. There are two specific roles that allow access to SYS.AUD$ for select and delete, these are DELETE_CATALOG_ROLE and SELECT_CATALOG_ROLE. These roles should not be granted to general users!
0
 

Author Comment

by:missymadi
ID: 21858082
Thanks!

What is the sytax (SQLPLUS)  to view the existing permissions on the SYS.AUD$ table?
0
 
LVL 10

Assisted Solution

by:dbmullen
dbmullen earned 60 total points
ID: 21871646
select *
from dba_tab_privs
where owner = 'SYS'
  and table_name in ( 'AUD$', 'DBA_AUDIT_TRAIL')
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now