Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL parameter for batch runs [NT]
I have shutdown and startup scripts run by the root process via cron or init.d (automatic scripts at startup or shutdown). These scripts shell to the Oracle account, but because they start as root the scripts do not need the Oracle password. If you are running as the Oracle account you connect internal, which needs no password entered, and do your shutdown and startup's
>>> "O'Neill, Sean" <Sean.ONeill_at_organon.ie> 02/08/01 08:50AM >>>
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
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 Beilstein INET: BeilstWH_at_OBG.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:43:57 CST