Solved

Check permissions for operations on a Oracle db table

Posted on 2008-06-25
5
4,518 Views
Last Modified: 2013-12-18
Hi,

      In Oracle 10g, how would I check to see that only the appropriate accounts have permissions to perform select, update, delete etc on the audit data table? Is this done through the GUI or is there an SQLPLUS command I can run to see the permissions?

Thanks, MissyMadi
0
Comment
Question by:missymadi
  • 3
5 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 21867792

Check the DBA_TAB_PRIVS table.
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 21867822

Also you could use the OEM console or any GUI like SQL Developper or TOAD.

0
 

Author Comment

by:missymadi
ID: 21868855
Is it possible to run a command in SQLPLUS to show who has priviledge to this table?
0
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 30 total points
ID: 21869039

SQL> SELECT * FROM DBA_TAB_PRIVS WHERE TABLE_NAME = 'MY_TABLE';

Open in new window

0
 
LVL 10

Assisted Solution

by:dbmullen
dbmullen earned 20 total points
ID: 21871647
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

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…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
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 configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

770 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