Solved

Check permissions for operations on a Oracle db table

Posted on 2008-06-25
5
4,506 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.

Join & Write a Comment

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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 shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

760 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

19 Experts available now in Live!

Get 1:1 Help Now