Andrea

I assume it is a shell (or batch) script, run from OS - you have "connect
internal" in your script so even if joe_doe runs the script, he connects as
internal, not as joe_doe. This can be your problem. Try it yourself - connect to
DB as internal (not yourself) and try to execute the commands that you have in
the script.

Or is it error related to OS permissions- if you are on UNIX, is the script's
mode set as executable by everyone or at least a group the users belong to?

I have done similar things many times and have my script run be users who were
not even database users. But I have used internal for DB
installation/configuration related tasks and different user for DDL or DML - the
table/procedure owners or user with proper privileges.
For example I have created setup programs for some products that required Oracle
database with set of tables, viewes, procedures, etc. Instead of sending the
scripts to build tables, views, synonyms, etc, which users often failed to do, I
included the database (datafiles, controlfiles, etc) in my install program.
During the setup I connected as internal and set up the database eg. modified
paths to datafiles, redologs etc and then connected as different user to modify
records in tables.

While internal is used to install, startup/shutdown, and other similar tasks I
am not sure if it has the same privileges as SYSTEM when it comes to tables,
views etc. DBA's can tell it better.

HTH

Witold






Andrea Oracle <[EMAIL PROTECTED]> on 07/10/2001 20:00:29

Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:    (bcc: Witold Iwaniec/ATL_BLUECROSS_CA)



Hi all,

I wrote a script for developers to run.  I have
svrmgrl, connect internal in the script.  The
developer got error since he doesn't have privileges.
So how to make the script runnable by non dbas???

Thanks.

Andrea

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Andrea Oracle
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).






-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to