Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Default Roles And A Caution in oracle docs
nirav wrote:
> Thank you Mark, Yes but say in a case where you are not in a position
> to revoke the roles...the impact analysis of what will break etc will
> take long time , talks with developers etc etc and so you DO NOT have
> the option of revoking any role, then in that situation what is the way
> out?
>
> -is it modifing the parameter max_enabled_role in init.ora and
> restarting?
>
> with thanks
> N.
If you create the role under your DBA account, then you WILL be in a position to revoke the roll from yourself. You created it, you granted it to yourself (in the creation), you can revoke it from yourself. It's still there to be granted to whoever actually needs it.
system_at_LCOT> connect system_at_lcotdb
Connected.
system_at_LCOT> select granted_role from dba_role_privs where
grantee='SYSTEM';
GRANTED_ROLE
Role created.
system_at_LCOT> select granted_role from dba_role_privs where grantee='SYSTEM';
GRANTED_ROLE
Revoke succeeded.
system_at_LCOT> select granted_role from dba_role_privs where grantee='SYSTEM';
GRANTED_ROLE
ROLE
16 rows selected.
system_at_LCOT> drop role eds_demo;
Role dropped. Received on Tue Aug 09 2005 - 11:22:17 CDT
![]() |
![]() |