Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Cloning of a user
Hi,
> > does anyone know a script that allows to clone a user in oracle via
> > SQL similar to the oem? I need to configure a "copy" of a user on
> > another instance without having the scripts that created the user.
> > Grants, roles, privileges and profiles should be "copied".
> You can do that using export and import
> exp ... owner=<olduser>
> imp ... fromuser=<olduser> touser=<newuser>
> The create user <newuser> statement has to be issued before imp.
does this mean, the import will import all grants, privileges, roles and profiles of the user, if this user will be created with no grants, no roles and without any privilges?
regards,
Andreas Boehm
Received on Tue Nov 06 2001 - 08:00:16 CST
![]() |
![]() |