0% found this document useful (0 votes)
60 views8 pages

DB Creation Upd

The document details the steps taken to configure a database and create users. Several database users are created and granted various roles to access the database objects.

Uploaded by

Fayaz Syed
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views8 pages

DB Creation Upd

The document details the steps taken to configure a database and create users. Several database users are created and granted various roles to access the database objects.

Uploaded by

Fayaz Syed
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

select * from dba_profiles where profile_name='DEFAULT'

To create a password File : Command : orapwd FILE=oradba ENTRIES=30 Run this command rom !R"CLE#$!%E&bin

bash'3()* pwd &r0)&oraprod&proddb&oradata&siebprod bash'3()* s+lplus & as s,sdba S-L./lus: Release 00(0(0(1(0 ' /roduction on Tue No2 )3 03:33:01 )000 Cop,ri4ht 5c6 078)9 )00:9 !racle( "ll ri4hts reser2ed(

Connected to: !racle ;atabase 004 Enterprise Edition Release 00(0(0(1(0 ' 1<bit /roduction =ith the /artitionin49 !L"/9 ;ata %inin4 and Real "pplication Testin4 options S-L> CRE"TE T"?LES/"CE siebel#data ;"T"FILE @&r0)&oraprod&proddb&oradata&siebprod&siebel#data00(db @ SIAE )B autoeCtend on maCsiDe 3BE Tablespace created( S-L> S-L> CRE"TE T"?LES/"CE siebel#indeC ;"T"FILE @&r0)&oraprod&proddb&oradata&siebprod&siebel#idC00(db @ SIAE )B autoeCtend on maCsiDe 3BE

Tablespace created( S-L> create role sse#roleE Role created( S-L> 4rant create session to sse#roleE Brant succeeded( S-L> create role tblo#roleE Role created( S-L> 4rant "LTER SESSI!N9 CRE"TE CLFSTER9 CRE"TE ;"T"?"SE LING9 CRE"TE IN;EHTI/E9 ) CRE"TE !/ER"T!R9 CRE"TE /R!CE;FRE9 CRE"TE SE-FENCE9 CRE"TE SESSI!N9 3 CRE"TE SIN!NI%9 CRE"TE T"?LE9 CRE"TE TRIBBER9 CRE"TE TI/E9 CRE"TE JIE=9 < CRE"TE ;I%ENSI!N9 CRE"TE %"TERI"LIAE; JIE=9 -FERI RE=RITE9 !N C!%%IT REFRES$ to tblo#roleE 3 KR to tblo#role 1 S-L> E 0 4rant "LTER SESSI!N9 CRE"TE CLFSTER9 CRE"TE ;"T"?"SE LING9 CRE"TE IN;EHTI/E9 ) CRE"TE !/ER"T!R9 CRE"TE /R!CE;FRE9 CRE"TE SE-FENCE9 CRE"TE SESSI!N9

3 CRE"TE SIN!NI%9 CRE"TE T"?LE9 CRE"TE TRIBBER9 CRE"TE TI/E9 CRE"TE JIE=9 < CRE"TE ;I%ENSI!N9 CRE"TE %"TERI"LIAE; JIE=9 -FERI RE=RITE9 !N C!%%IT REFRES$ 3. to tblo#role S-L> 4rant "LTER SESSI!N9 CRE"TE CLFSTER9 CRE"TE ;"T"?"SE LING9 CRE"TE IN;EHTI/E9 ) CRE"TE !/ER"T!R9 CRE"TE /R!CE;FRE9 CRE"TE SE-FENCE9 CRE"TE SESSI!N9 3 CRE"TE SIN!NI%9 CRE"TE T"?LE9 CRE"TE TRIBBER9 CRE"TE TI/E9 CRE"TE JIE=9 < CRE"TE ;I%ENSI!N9 CRE"TE %"TERI"LIAE; JIE=9 -FERI RE=RITE9 !N C!%%IT REFRES$ to tblo#roleE Brant succeeded( S-L> 4rant "LTER SESSI!N9 CRE"TE CLFSTER9 CRE"TE ;"T"?"SE LING9 CRE"TE IN;EHTI/E9 ) ) CRE"TE !/ER"T!R9 CRE"TE /R!CE;FRE9 CRE"TE SE-FENCE9 CRE"TE SESSI!N9 3 3 CRE"TE SIN!NI%9 CRE"TE T"?LE9 CRE"TE TRIBBER9 CRE"TE TI/E9 CRE"TE JIE=9 < < CRE"TE ;I%ENSI!N9 CRE"TE %"TERI"LIAE; JIE=9 -FERI RE=RITE9 !N C!%%IT REFRES$ to sse#roleE ) CRE"TE !/ER"T!R9 CRE"TE /R!CE;FRE9 CRE"TE SE-FENCE9 CRE"TE SESSI!N9 . ERR!R at line ): !R"'00770: missin4 or in2alid pri2ile4e

S-L> 4rant "LTER SESSI!N9 CRE"TE CLFSTER9 CRE"TE ;"T"?"SE LING9 CRE"TE IN;EHTI/E9

) CRE"TE !/ER"T!R9 CRE"TE /R!CE;FRE9 CRE"TE SE-FENCE9 CRE"TE SESSI!N9 3 CRE"TE SIN!NI%9 CRE"TE T"?LE9 CRE"TE TRIBBER9 CRE"TE TI/E9 CRE"TE JIE=9 < CRE"TE ;I%ENSI!N9 CRE"TE %"TERI"LIAE; JIE=9 -FERI RE=RITE9 !N C!%%IT REFRES$ to sse#roleE Brant succeeded( S-L> create user SIE?EL identi ied b, s03b3lE Fser created( S-L> 4rant tblo#role to SIE?ELE 4rant sse#role to SIE?ELE Brant succeeded( S-L> 4rant tblo#role to SIE?ELE 4rant sse#role to SIE?ELE4rant tblo#role to SIE?EL . ERR!R at line 0: !R"'00700: in2alid character

S-L> 4rant tblo#role to SIE?ELE Brant succeeded( S-L> 4rant sse#role to SIE?ELE

Brant succeeded( S-L> alter user SIE?EL +uota 0 on SISTE% +uota 0 on SIS"FHE Fser altered( S-L> alter user SIE?EL de ault tablespace LLsiebel#tablespaceE Enter 2alue or siebel#tablespace: siebel#data old 0: alter user SIE?EL de ault tablespace LLsiebel#tablespace new 0: alter user SIE?EL de ault tablespace siebel#data Fser altered( S-L> alter user SIE?EL temporar, tablespace LLtemp#tablespaceE Enter 2alue or temp#tablespace: temp old 0: alter user SIE?EL temporar, tablespace LLtemp#tablespace new 0: alter user SIE?EL temporar, tablespace temp Fser altered( S-L> alter user SIE?EL +uota unlimited on LLsiebel#tablespaceE old 0: alter user SIE?EL +uota unlimited on LLsiebel#tablespace new 0: alter user SIE?EL +uota unlimited on siebel#data Fser altered( S-L> create user S";%IN identi ied b, s1dm1ncrp0E Fser created(

S-L> 4rant sse#role to S";%INE Brant succeeded( S-L> alter user S";%IN de ault tablespace LLsiebel#tablespaceE old 0: alter user S";%IN de ault tablespace LLsiebel#tablespace new 0: alter user S";%IN de ault tablespace siebel#data Fser altered( S-L> alter user S";%IN temporar, tablespace LLtemp#tablespaceE old 0: alter user S";%IN temporar, tablespace LLtemp#tablespace new 0: alter user S";%IN temporar, tablespace temp Fser altered( S-L> alter user sadmin +uota unlimited on LLsiebel#tablespaceE old 0: alter user sadmin +uota unlimited on LLsiebel#tablespace new 0: alter user sadmin +uota unlimited on siebel#data Fser altered( S-L> alter user sadmin +uota unlimited on siebel#indeCE Fser altered( S-L> alter user siebel +uota unlimited on siebel#indeCE

Fser altered( S-L> create user L;"/FSER identi ied b, L;"/FSERE Fser created( S-L> 4rant sse#role to L;"/FSERE Brant succeeded( S-L> alter user L;"/FSER de ault tablespace LLsiebel#tablespaceE old 0: alter user L;"/FSER de ault tablespace LLsiebel#tablespace new 0: alter user L;"/FSER de ault tablespace siebel#data Fser altered( S-L> alter user L;"/FSER temporar, tablespace LLtemp#tablespaceE old 0: alter user L;"/FSER temporar, tablespace LLtemp#tablespace new 0: alter user L;"/FSER temporar, tablespace temp Fser altered( S-L> S-L> select name rom 2*databaseE N"%E ''''''''' SIE?/R!;

S-L> create user proC,e identi ied b, eproC,#0)3 de ault tablespace siebel#data temporar, tablespace tempE Fser created( S-L> 4rant sse#role to proC,eE Brant succeeded( S-L> create user 4uestcst identi ied b, cst4uest de ault tablespace siebel#data temporar, tablespace tempE Fser created( S-L> 4rant sse#role to 4uestcstE Brant succeeded(

You might also like