The script is signed on as SYSTEM which has full control. Will the SYSTEM account work?
Does the DBMS_LOB and DBMS_SQL accounts also need the SYSTEM account?
Main Topics
Browse All TopicsExperts,
I have a script I am trying to run for Oracle. I need to Revoke execute on UTL_TCP from Public
but Grant execute on UTL_TCP. I am getting an erro that the table or view does not exist. How do I identify the UTL_TCP package for Revoke and Grant?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am writing a script to mitigate our information assurance issues. One of the issues is to revoke the Public account on the following packages:
Revoke execute on UTL_FILE from Public;
Revoke execute on UTL_TCP from Public;
Revoke execute on UTL_HTTP from Public;
Revoke execute on UTL_SMTP from Public;
Revoke execute on DBMS_LOB from Public;
Revoke execute on DBMS_SQL from Public;
Revoke execute on DBMS_OBFUSCATION_TOOLKIT to System;
This is where I received the error, the table or view does not exist. I have the environment set to the specific SID and logged in as SYSTEM. From your comments, it sounds like I need to be logged in as SYS to Grant\deny activity on these packages and identify the packages as sys.utl_file, sys.utl_tcp.... Is that correct?
Business Accounts
Answer for Membership
by: sdstuberPosted on 2008-08-12 at 08:08:22ID: 22213881
You'll need to be logged in as SYS to do these grants.
revoke execute on sys.utl_tcp from public;
grant execute on sys.utl_tcp to xxxxxxx;