Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL parameter for batch runs [NT]

RE: SQL parameter for batch runs [NT]

From: William Rogge <William_Rogge_at_voltek.com>
Date: Thu, 08 Feb 2001 08:46:57 -0800
Message-ID: <F001.002AF139.20010208072612@fatcity.com>

We do thing a little different.

First, only the IS staff has access to the UNIX prompt. Second, there is a file maintained by ROOT which contains both login id and passwords. These values are loaded through a . script loading Sys_Name and Sys_Password.
Third, all sql's, sqlload, exports are executed using the $Sys_Name/$Sys_Password syntax. That way, we can change passwords at a whim, update the controlling . file and all scripts continue as though nothing has changed.

-----Original Message-----
From: O'Neill, Sean [SMTP:Sean.ONeill_at_organon.ie] Sent: Thursday, February 08, 2001 8:50 AM

To:     Multiple recipients of list ORACLE-L
Subject:        SQL parameter for batch runs [NT]

Hi Folks,

I have some SQL scripts which I use to Shutdown and Startup DBs. The SQL scripts are called from OS batch files and run using AT schedule service. Problem, or so I perceive it as being, is that I use SYSTEM user as part of script to connect to DB to Startup/Shutdown and I have the password for same
(horror of horrors???) in the SQL script. So I'm wondering how othger
folks
manage the same process. Do you use the OS file protection to protect the SQL file from prying eyes or perhaps a particular Oracle account stripped of
unecessary privs etc to include in script OR is there a antoher more secure way around this issue that I just have not realised?.

Sean :)

Rookie Data Base Administrator
[0%] OCP Oracle8i DBA
[0%] OCP Oracle9i DBA



Organon (Ireland) Ltd.
http://www.organon.ie
E-mail: sean.oneill_at_organon.ie [subscribed: Digest Mode]

Visit: http:\\groups.yahoo.com/group/Oracle-OCP-DBA

"They tell me nothing, but expect me to know everything!"

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: O'Neill, Sean
  INET: Sean.ONeill_at_organon.ie

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: ListGuru_at_fatcity.com (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: William Rogge INET: William_Rogge_at_voltek.com 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: ListGuru_at_fatcity.com (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).
Received on Thu Feb 08 2001 - 10:46:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US