Solved

Check permissions for operations on a Oracle db table

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Encryption Decryption in Oracle 12 105
What is the version of ojdbc6.jar 2 39
ORA-01008: not all variables bound. 6 38
Oracle Public Synonyms and Privileges 2 51
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

911 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

22 Experts available now in Live!

Get 1:1 Help Now