If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > creating oracle user as that of existing user

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-06, 09:24
bw1tmar0 bw1tmar0 is offline
Registered User
 
Join Date: Oct 2005
Posts: 39
creating oracle user as that of existing user

Hello All,

I have two machines on which oracle is running....on one machine... one user is their.....I need to create same type of oracle user on other machine....!!!

How should i go for this...?? so that new user (on one machine) has the same priviledge and grants(everything) as that of existing user on other machine.

Any help will be highly appreciated ...!!!

Thanking in anticipation.

Regards,
Rajeev Tomar
Reply With Quote
  #2 (permalink)  
Old 01-27-06, 09:52
cis_groupie cis_groupie is offline
Registered User
 
Join Date: Jun 2004
Posts: 597
You can find a suitable script to help you do this here:

http://www.orafaq.com/scripts/sql/cre8like.txt
__________________
90% of users' problems can be resolved by punching them - the other 10% by switching off their PCs.
Reply With Quote
  #3 (permalink)  
Old 01-27-06, 14:35
Littlefoot Littlefoot is offline
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 3,629
How about using EXP(ort) and IMP(ort) utilities? If you need the whole schema (that is, user and its tables, views, grants, triggers, ...), perhaps you could consider this too.

By the way, if you will use Frank's script, don't forget to SPOOL output into some file (because running it as it is will not do anything) and run it on another database.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On