System Privileges, Object Privileges and Roles in Oracle 10g r2
Hello,
I am looking for a comprehensive details about each and every role, privileges(both object and system) that are available in standard Oracle EE 10g r2.
I have visited administrator reference manual and other documents from docs.oracle.com but could not fine this information.
Can anyone redirect me to an appropriate URL or documentation that details whats and hows of each and every roles and privileges?
Thanks,
R
Rich V wrote:
Hello,
I am looking for a comprehensive details about each and every role, privileges(both object and system) that are available in standard Oracle EE 10g r2.
I have visited administrator reference manual and other documents from docs.oracle.com but could not fine this information.
Can anyone redirect me to an appropriate URL or documentation that details whats and hows of each and every roles and privileges?
Thanks,
RHi, you can use dba_role_privs,role_sys_privs views,for more information see
http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/admusers.htm
http://www.cuddletech.com/articles/oracle/node36.html
Similar Messages
-
How to integrate from MS SQL SERVER 2005 and Flatfile to Oracle 10g.
Hi
I am new to ODI. I am trying to load sample data from MS SQL Server 2005 and Flatfile to Oracle 10g.
1. I have created three models.
1-1. SQL2005 (SRC_CUSTOMER table)
1-2. Flatfile (SRC_AGE_GROUP.txt & SRC_SALES_PERSON.txt)
1-3. Oracle 10g (TRG_CUSTOMER table)
You may know I got those environments from the ODI DEMO environment.
2. I could able to reverse the tables also.
3. I have created an interface which contains source table (from MSSQL 2005), Flatfile and target table from ORACLE model.
4. I have imported the knowledge modules. But I am confusing in selecting the knowledge modules to source and target tables.
I've selected LKM File to SQL for flatfile model.
I've also selected LKM SQL to SQL for MSSQL 2005 model and IKM Oracle Incremental Update for the target table (ORACLE).
I've also implemented the interface that I created. It worked without errors. But there is no data in target table which is TRG_CUSTOMER.
I really would like to know what happened and what the problems are.
You can email me [email protected]
Thanks in advance
Jason Leewhat did give for SRC_AGE_GROUP SRC_CUSTOMER join condition
if it is
(SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE=SRC_AGE_GROUP.AGE_MAX
give it as
(SRC_CUSTOMER.AGE>SRC_AGE_GROUP.AGE_MIN) AND SRC_CUSTOMER.AGE<SRC_AGE_GROUP.AGE_MAX -
How to store photo images and thumbimpressions in oracle 10g database
Hi all
I have an web application running in Oracle 10g rel 1 database server in RHEL3. It has application server with forms and j2ee component as middle tier. I need to store centrally photo images and thumb impressions and use it in our application without any overhead on retrieval and performance of web application. what will be optimized method of storage of photo and thumb impressions. Awaiting your valuable suggestions.
Regards
Vijay KumarHi Vijay,
How to store photo images and thumbimpressions in oracle 10g database I have working code here for storing photos in Oracle tables that you may find useful:
http://www.dba-oracle.com/t_storing_insert_photo_pictures_tables.htm
Hope this helps . . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference"
http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm -
Privileges and Roles Based Views
Hello,
I have been confguring Roles based Views with Windows radius authentication on our 2960's and 3750's and it is working great. I have 2 users, one with a Roles Base View called "priv3" and the other is for admins of login as the "root" view. I have one Windows Active Directory group for "priv3" users and the other for admins using "root".
Now I have to configure this on our 2955 switches and to my horror they don't seem to support Roles Based Views!! fI you know if they can then all this would be solved, I've using the latest IOS c2955-i6k2l2q4-mz.121-22.EA13.bin.
How can convert the Roles Base Views to privileges and use radius and not effect the other switches,as I've never used privilges.
I hope someone can help with the config:
Below is the config I use on the 2960's and 3750's and also what I use on the radius servers. I guess I would need ot use a priv 15 setup and a custom view called priv3?
Priv3 radius user settings
cisco av-pair cli-view-name=priv3
Priv 15 or root user settings
cisco av-pair shell:priv-lvl=15
cisco av-pair shell:cli-view-name=root
Config:
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname 3750
boot-start-marker
boot-end-marker
logging buffered 64000
logging console informational
logging monitor informational
enable secret 5 $1$1UGK$kHB.S2UwMVXaG3C0
username admin privilege 15 secret 5 $1$BsaS$cLHllovL2ZFb1
username priv3users view priv3 secret 5 $1$JfnH$vUu.B.natnyB.
aaa new-model
aaa authentication login default group radius local
aaa authentication enable default line
aaa authorization console
aaa authorization exec default group radius local
aaa session-id common
clock timezone GMT 0
clock summer-time BST recurring last Sun Mar 2:00 last Sun Oct 3:00
switch 1 provision ws-c3750g-12s
switch 2 provision ws-c3750g-12s
system mtu routing 1500
udld aggressive
no ip domain-lookup
ip domain-name CB-DI
login on-failure log
login on-success log
crypto pki trustpoint TP-self-signed-3817403392
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3817403392
revocation-check none
rsakeypair TP-self-signed-3817403392
crypto pki certificate chain TP-self-signed-3817403392
certificate self-signed 01
removed
quit
archive
log config
logging enable
logging size 200
notify syslog contenttype plaintext
hidekeys
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 10 priority 8192
vlan internal allocation policy ascending
ip ssh version 2
interface GigabitEthernet1/0/1
interface GigabitEthernet1/0/24
interface Vlan1
description ***Default VLAN not to be used***
no ip address
no ip route-cache
no ip mroute-cache
shutdown
interface Vlan10
description ****
ip address 10.10.150.11 255.255.255.0
no ip route-cache
no ip mroute-cache
ip default-gateway 10.10.150.1
ip classless
no ip http server
ip http secure-server
logging trap notifications
logging facility local4
logging source-interface Vlan10
logging 10.10.21.8
logging 172.23.1.3
access-list 23 permit 10.10.1.65
snmp-server community transm1t! RO
snmp-server trap-source Vlan10
radius-server host 10.10.1.33 auth-port 1645 acct-port 1646 key 7 090D7E080D37471E48
radius-server host 10.10.1.34 auth-port 1645 acct-port 1646 key 7 08607C4F1D2B551B51
radius-server vsa send accounting
radius-server vsa send authentication
line con 0
exec-timeout 60 0
logging synchronous
line vty 0 4
access-class 23 in
exec-timeout 60 0
logging synchronous
transport input ssh
line vty 5 14
access-class 23 in
no exec
transport input ssh
parser view priv3
secret 5 $1$XSCo$feyS.YaFlakfGYUgKHO/
! Last configuration change at 16:34:56 BST Fri Apr 13 2012
commands interface include shutdown
commands interface include no shutdown
commands interface include no
commands configure include interface
commands exec include configure terminal
commands exec include configure
commands exec include show ip interface brief
commands exec include show ip interface
commands exec include show ip
commands exec include show arp
commands exec include show privilege
commands exec include show interfaces status
commands exec include show interfaces Vlan10 status
commands exec include show interfaces Vlan1 status
commands exec include show interfaces GigabitEthernet2/0/12 status
commands exec include show interfaces GigabitEthernet2/0/11 status
commands exec include show interfaces GigabitEthernet2/0/10 status
commands exec include show interfaces GigabitEthernet2/0/9 status
commands exec include show interfaces GigabitEthernet2/0/8 status
commands exec include show interfaces GigabitEthernet2/0/7 status
commands exec include show interfaces GigabitEthernet2/0/6 status
commands exec include show interfaces GigabitEthernet2/0/5 status
commands exec include show interfaces GigabitEthernet2/0/4 status
commands exec include show interfaces GigabitEthernet2/0/3 status
commands exec include show interfaces GigabitEthernet2/0/2 status
commands exec include show interfaces GigabitEthernet2/0/1 status
commands exec include show interfaces GigabitEthernet1/0/12 status
commands exec include show interfaces GigabitEthernet1/0/11 status
commands exec include show interfaces GigabitEthernet1/0/10 status
commands exec include show interfaces GigabitEthernet1/0/9 status
commands exec include show interfaces GigabitEthernet1/0/8 status
commands exec include show interfaces GigabitEthernet1/0/7 status
commands exec include show interfaces GigabitEthernet1/0/6 status
commands exec include show interfaces GigabitEthernet1/0/5 status
commands exec include show interfaces GigabitEthernet1/0/4 status
commands exec include show interfaces GigabitEthernet1/0/3 status
commands exec include show interfaces GigabitEthernet1/0/2 status
commands exec include show interfaces GigabitEthernet1/0/1 status
commands exec include show interfaces Null0 status
commands exec include show interfaces
commands exec include show configuration
commands exec include show
commands configure include interface GigabitEthernet1/0/1
commands configure include interface GigabitEthernet1/0/2
commands configure include interface GigabitEthernet1/0/3
commands configure include interface GigabitEthernet1/0/4
commands configure include interface GigabitEthernet1/0/5
commands configure include interface GigabitEthernet1/0/6
commands configure include interface GigabitEthernet1/0/7
commands configure include interface GigabitEthernet1/0/8
commands configure include interface GigabitEthernet1/0/9
commands configure include interface GigabitEthernet1/0/10
commands configure include interface GigabitEthernet1/0/11
commands configure include interface GigabitEthernet1/0/12
commands configure include interface GigabitEthernet2/0/1
commands configure include interface GigabitEthernet2/0/2
commands configure include interface GigabitEthernet2/0/3
commands configure include interface GigabitEthernet2/0/4
commands configure include interface GigabitEthernet2/0/5
commands configure include interface GigabitEthernet2/0/6
commands configure include interface GigabitEthernet2/0/7
commands configure include interface GigabitEthernet2/0/8
commands configure include interface GigabitEthernet2/0/9
commands configure include interface GigabitEthernet2/0/10
commands configure include interface GigabitEthernet2/0/11
commands configure include interface GigabitEthernet2/0/12
ntp logging
ntp clock-period 36028961
ntp server 10.10.1.33
ntp server 10.10.1.34
end
Thanks!!!!DBelt --
Hopefully this example suffices.
Setup
SQL> CREATE USER test IDENTIFIED BY test;
User created.
SQL> GRANT CREATE SESSION TO test;
Grant succeeded.
SQL> GRANT CREATE PROCEDURE TO test;
Grant succeeded.
SQL> CREATE ROLE test_role;
Role created.
SQL> GRANT CREATE SEQUENCE TO test_role;
Grant succeeded.
SQL> GRANT test_role TO test;
logged on as Test
SQL> CREATE OR REPLACE PACKAGE definer_rights_test
2 AS
3 PROCEDURE test_sequence;
4 END definer_rights_test;
5 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY definer_rights_test
2 AS
3 PROCEDURE test_sequence
4 AS
5 BEGIN
6 EXECUTE IMMEDIATE 'CREATE SEQUENCE test_seq';
7 END;
8 END definer_rights_test;
9 /
Package body created.
SQL> CREATE OR REPLACE PACKAGE invoker_rights_test
2 AUTHID CURRENT_USER
3 AS
4 PROCEDURE test_sequence;
5 END invoker_rights_test;
6 /
Package created.
SQL> CREATE OR REPLACE PACKAGE BODY invoker_rights_test
2 AS
3 PROCEDURE test_sequence
4 AS
5 BEGIN
6 EXECUTE IMMEDIATE 'CREATE SEQUENCE test_seq';
7 END;
8 END invoker_rights_test;
9 /
Package body created.
SQL> EXEC definer_rights_test.test_sequence;
BEGIN definer_rights_test.test_sequence; END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "TEST.DEFINER_RIGHTS_TEST", line 7
ORA-06512: at line 1
SQL> EXEC invoker_rights_test.test_sequence;
PL/SQL procedure successfully completed.
SQL> SELECT test_seq.NEXTVAL from dual;
NEXTVAL
1 -
SYSTEM HANGS WHILE RUNNING EXP COMMAND IN ORACLE 10G
WHEN WE ARE RUNNING THE EXP (EXPORT) COMMAND IN ORACLE 10G
TO TAKE THE BACKUP IT GETS HANGED FOR A LONG TIME AND THEN IN THE LOG FILE WE FIND THE FOLLOWING ERROR MESSAGE.
SOMETIMES AFTER RESTARTING THE SERVER WE ARE ABLE TO RUN THE EXP COMMAND.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user MANHAR
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user MANHAR
About to export MANHAR's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
*********************************** AT THIS POINT THE SYSTEM HANGS FOR A LONG TIME.
EXP-00056: ORACLE error 24324 encountered
ORA-24324: service handle not initialized
EXP-00056: ORACLE error 24324 encountered
ORA-24324: service handle not initialized
EXP-00000: Export terminated unsuccessfully
THE EXP COMMAND THAT WE USE IS AS FOLLOWS:
EXP MANHAR/MANHAR FILE=F:\BACKUP\MANHAR.DMP LOG=F:\BACKUP\MANHAR.LOG BUFFER=1000000 GRANTS=Y CONSTRAINTS=Y
WE ARE RUNNING THE EXP COMMAND ON THE SERVER ITSELF.
THE SERVER OPERATING SYSTEM IS WINDOWS 2003 SERVER.
Kindly give us a solution at the earliest.You should ask Oracle support for help. There's only one entry for this error stack (Bug 3361288 - Export of XMLSCHEMA may fail with ORA-24324 in UTF8), but it should have been fixed for your DB version and , as far as I can see, you don't have a Unicode database.
Werner -
Where do i see all the default tables and views in oracle 10g
hi,
I have installed oracle 10g in the linux os.
I just wanna see the list of deffault tables and views created by oracle.
can anyoone hlep me on this
thanx in advance....Check DBA_OBJECTS for all seeded objects in an Oracle database. For tables, check DBA_TABLES. For views, check DBA_VIEWS. All of this is documented in the fine documentation - take some time out to read thru it.
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_4156.htm#REFRN23146
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_5056.htm#sthref2482
http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_5085.htm#sthref2521
HTH
Srini -
User name and password for oracle 10g
Hi Guys,
I downloaded oracle 10g and installed on my computer but when i try to work on SQL plus it's asking for an username and password, i tryed as scott/tiger,system/manager but unable to login please help me what to do...??When u install Oracle 10g, it forces u to enter new passwords for System as well as scott user and it does not allow u to keep old know passwords as manager and tiger.
If u installed with new passwords successfully, u must be knowing those new passwords and there is no reason to try with system/manager. Instead try to connect with new passwords. We never faced such problems.
If the problems still persits, check that
a) Oracle service is running
b) Instance is running by and whether u are able to connect / as sysdba
Suresh Bansal -
Re-Installation and installation of Oracle 10g
Hello
I am a student currently doing a subject on how to use and develop databases, forms and reports in Oracle. My concern is with regard to the installation of Oracle I had previous partially installed Oracle and while using the Windows function to remove the program I am told this is not sufficient to remove Oracle or prepare my system for re-installation. I have been told I need to remove Oracle files from my registry. Having examined my registry there is a folder in the software directory that is called Oracle and contains files pre-fixed with the name Oracle. Do I need to just remove the Oracle folder or just the files it contains? Is that all the files I need to re-move?
My other query is I want to locate instructions that will guide me step by step on the installation of the oracle database and Oracle Developer. Would any body recommend the best place to locate instructions?
All assistance will be very appreciatedYou should always use the installer to remove software. Now you have Oracle elements left in the registry and , maybe , in the installer inventory. You are right, to start again you must have a clean machine. Unfortunately there isn't only one place for Oracle components in the registry. See this chapter (from installation guide), what to do.
http://download-west.oracle.com/docs/html/B10130_02/deinstall.htm#sthref868
By the way the installation guides (both database and developer) are the sources for detailed instructions, how to install the software. -
How to do automatic start and shut of Oracle 10g and listerner on AIX 6
Hi ,Please help ,how do we do automatic startup and shutdown of Oracle Database and Listener at System Reboot ,I am using Oracle 10G and operating system is AIX 6,Thanks
Hi,
Check this
http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#BGBJBAEI
for more ref
http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
Edited by: CKPT on Jan 7, 2011 1:11 PM -
Is there defaut username and password in oracle 10g
hello
is there default user and password in oracle 10 g ?Not sure exactly what you asking.
At least Oracle has two defaultDBA user SYSTEM and SYS
Database Administrator Usernames
Two user accounts are automatically created when Oracle Database is installed:
SYS (default password: CHANGE_ON_INSTALL)
SYSTEM (default password: MANAGER)
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref118 -
Shared file system recomended for OCR and voting Disk in 10g R2
Dear Friends,
For Oracle 10g R2 (10.2.0.5) 64 bit which shared file system is recomended for OCR and voting Disk (NFS / raw devices / OCFS2)
For Datafiles and FRA i planned to use ASM
Regards,
DBHi,
If your using standard edition then you got no choice but raw devices
http://docs.oracle.com/cd/B19306_01/license.102/b14199/options.htm#CJAHAGJE
for ocfs2 you need to take extra care
Heartbeat/Voting/Quorum Related Timeout Configuration for Linux, OCFS2, RAC Stack to Avoid Unnecessary Node Fencing, Panic and Reboot [ID 395878.1] -
Backing Up Database Table and Records in Oracle 10g
Hi All,
I created database for my company with Oracle 10g Database Server and want to backup all my database tables and records within (i.e creating another username inside the data and transfer them) and outside (i.e transfering them in another destination outside the database server) the database. Could you please instruct me on how to achieve?
I look forward to hearing from you all.
Thank you.
JcHi, use RMAN utility
do this
rman target sys/*** nocatalog
run {
allocate channel t type disk;
backup
format '/app/oracle/backup/%d_t%t_s%s_p%p'
(database);
release channel t;
{code
Also read backup and recovery guide at http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
regards -
How to archive and Purge in Oracle 10g based on data
Hi,
Our requirement is that based on some rules stored in static tables we want to perform Archiving, purging and compression of data in Oracle 10g.
Can anyone guide me to proper information material for how to go about this?
Thanks!
Avinash.Hi,
Thanks for the information.
But this traditional way of doing is archiving is for maintenance and backup operations.
We want to have this process online, without taking db offline. In this case will this approach work?
In our case, the rules can be like -
1. For table 'A', if rows exceed 10Million, then start archiving of the data for that table.
2. For table 'B', if data is older than 6 motnhs start archiving of the data for that table.
3. Archiving should be on for 15 minutes only after that should pause, and should resume whenever user wants to resume.
4. Archiving should start on specified days only... ETC... -
Data replication and synchronization in Oracle 10g XE.
We are trying to do data replication and synchronization sort of thing for all our servers. We are using Oracle 10g. XE. I guess there are some features in oracle already for replication but I am not very sure about them.
To explain it more clearly - we will have individual database servers in our sub-divisions and then divisions and centers and then main server. We need to synchronize at various levels. So If any body is aware of any techniques, please let me know.Hi,
Could you tell me what exactly synchronisation your talking about..?
we will have individual database servers in our sub-divisions and then divisions >>and centers and then main serverIf you have mulitple DB servers then you can connect it by DB links. also if you are talking DB synchronisation then you can have Triggers,Materialized views.
we also have two independent severs which are synchronised(atleast schema levels).
Regards! -
Pivot and Unpivot in Oracle 10g
Hi,
This is my table structure
CREATE TABLE TESTTABLE
REVENUE1 NUMBER,
REVENUE2 NUMBER,
REVENUE3 NUMBER,
YEAR DATE
insert into testtable(revenue1, revenue2, revenue3, year) values(100,200,300,'1-Jan-2009') ;
insert into testtable(revenue1, revenue2, revenue3, year) values(250,350,450,'1-Jan-2010') ;
insert into testtable(revenue1, revenue2, revenue3, year) values(300,400,500,'1-Jan-2011') ;
The resultant should be on oracle 10g.
The result should be like
1-Jan-2009 1-Jan-2010 1-Jan-2011
Revenue1 100 250 300
Revenue2 200 350 400
Revenue3 300 450 500
Thanks in advanceHi,
Naveen wrote:
...Thanks for the reply but this will not make the year as the column header it will be shown as a row in the result set.That's exactly what I thought you wanted, based on your first message:
Naveen wrote:
The result should be like
1-Jan-2009 1-Jan-2010 1-Jan-2011
Revenue1 100 250 300
Revenue2 200 350 400
Revenue3 300 450 500It would have been clearer if you had said: "The result set should be like these 3 rows:
{code}
Label 1-Jan-2009 1-Jan-2010 1-Jan-2011
Revenue1 100 250 300
Revenue2 200 350 400
Revenue3 300 450 500
{code}
When posting formatted text (such as results) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
Column names are hard-coded into the query. To get variable data, such as '1-Jan-2009' as a column header, you must use dynamic SQL. This is probably best done in your front-end. SQL*Plus, for example, has substitution variables, that you can define with data from your table at run-time using the COLUMN ... NEW_VALUE command. (SQL*Plus also has a COLUMN ... HEADING command that can do what you want, , but it doesn't simplify this particular problem.)
What front-end tool are you using? Can you use SQL*Plus?
Maybe you are looking for
-
Video/sound don't match all of a sudden!
Adding some sound and music to a 20 minute movie using Logic. Things were fine for a while but now the video is slightly behind the audio. Can't figure for the life of me why. Any help?
-
ITunes won't start, 12.1
Win7 64 bit It happened when Apple Software Update bothered me to update Quicktime and something else. I've tried - Restarting - Uninstalling everything apple related, reinstalling only iTunes and Quicktime - Changing users - Previous versions of bot
-
How to stop MR8M reversal after paying tax (TDS ) on that document
Hello experts , As Miro document can be reversed (MR8M) after paying tax on , like TDS and our requirement is ones we paid the tax on that particular document it should not be reversed . like in transaction FB08 first we have to reset cleared ite
-
Quad core MacbookPro Airtunes lag
I recently purchased a new MacbookPro (2.3 GHz quad core) and whenever I try to use Airtunes in conjunction with the speakers on the MBP as well, the MBP has a slight, yet annoying lag. This did not, and does not happen with my old MBP (2.6 GHz dual
-
After install acrobat DC doesn't launch
I'm trying to install the free trial version of Acrobat DC on my up-to-date Win Vista OS PC. After download and install, when I get to the "Launch Acrobat" interface box and press either the "launch" or "close" button nothing happens, except the inte