Effects of plugging/unplugging operations on users, roles, and privileges
The purpose of this recipe is to show what is going to happen to users, roles, and privileges when you unplug a pluggable database from one container database (cdb1
) and plug it into some other container database (cdb2
).
Getting ready
To complete this recipe, you will need the following:
- Two container databases (
cdb1
andcdb2
) - One pluggable database (
pdb1
) in the container databasecdb1
- Local user
mike
in the pluggable databasepdb1
with the localcreate session
privilege - The common user
c##john
with thecreate session
common privilege andcreate synonym
local privilege on the pluggable databasepdb1
How to do it...
- Connect to the root container of
cdb1
as usersys
:SQL> connect ...
Get Oracle Database 12c Security Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.