niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle
Can roles be copied?
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Mark D Powell
*nix forums Guru


Joined: 23 Apr 2005
Posts: 701

PostPosted: Wed Feb 16, 2005 3:01 pm    Post subject: Re: Can roles be copied? Reply with quote

Do you want all users or just certain users? If all users then you can
use a full exp with rows=n to extract all DDL, grants, users, roles,
etc... and then import that.

You can use a user export for just one user's objects but this will not
get roles.

The create script for a role is fairly easy to generate from the
dictionary views or you can cut it out of a full exp dump with a little
editing code.

HTH -- Mark D Powell --
Back to top
Randy Harris
*nix forums Guru Wannabe


Joined: 23 Apr 2005
Posts: 202

PostPosted: Tue Feb 15, 2005 10:03 pm    Post subject: Can roles be copied? Reply with quote

Is there a way to copy users or roles and their grants from one instance to
another? Perhaps using "exp full=y", then imp?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 3:48 am | All times are GMT
navigation Forum index » Databases » Oracle
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts FAQ 2.4 I copied the perl binary from one machine to anot... PerlFAQ Server Perl 0 Fri Jul 14, 2006 1:03 am
No new posts How to pull all privileges assigned to roles? the_vinman Server 1 Wed Jul 05, 2006 6:25 pm
No new posts FAQ 2.4 I copied the perl binary from one machine to anot... PerlFAQ Server Perl 0 Tue Jul 04, 2006 7:03 am
No new posts Copied files have different size.... (logical volumes) tomec@obywatel.pl AIX 14 Mon Jul 03, 2006 12:36 pm
No new posts Does containers get copied when used as parameters? Gaijinco C++ 4 Sun Jul 02, 2006 12:28 pm

Loans | Guitar Lesson | Loans | Credit Card | Free Credit Report
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0981s ][ Queries: 20 (0.0340s) ][ GZIP on - Debug on ]