Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to revoke EXECUTE from PUBLIC in RDS oracle database

Sheng WangNov 5 2021

Hello,

in traditinal oracle db, we can do: REVOKE EXECUTE ON DBMS_LDAP FROM PUBLIC;
In AWS RDS oracle db
begin
rdsadmin.rdsadmin_util.revoke_sys_object(
p_obj_name => 'DBMS_LDAP',
p_revokee => 'PUBLIC',
p_privilege => 'EXECUTE');
end;
/

ERROR at line 1:
ORA-20199: Error in rdsadmin_util.revoke_sys_object. ORA-20900: Revoking
privilege from PUBLIC is not allowed.
ORA-06512: at "RDSADMIN.RDSADMIN_UTIL", line 266
ORA-20900: Revoking privilege from PUBLIC is not allowed.
ORA-06512: at "SYS.RDS_SYS_UTIL", line 420
ORA-06512: at "RDSADMIN.RDSADMIN_UTIL", line 263
ORA-06512: at line 2

Anything I can do to fix this

Thanks

This post has been answered by tsangsir on Nov 8 2021
Jump to Answer
Comments
Post Details
Added on Nov 5 2021
4 comments
1,435 views