Solved

How do you set up auditing in Oracle 10g?

Posted on 2008-06-23
5
850 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.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

705 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