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: How to avoid Password in shell script

Re: How to avoid Password in shell script

From: Ram <ramg_at_quaartz.com>
Date: Fri, 7 Jul 2000 17:40:28 -0700
Message-Id: <10551.111492@fatcity.com>


Create an OPS$ORACLE user account, grant it connect & dba privileges and use it
for running your cron jobs (su -c oracle shell_script_name). For example : sqlplus / @script_name (unix login should be oracle. Keep the unix oracle account password safe).

>
> Hi,
>
> How can I avoid putting the password in the shell scripts I run every
night
> through cron?
>
> Oracle Version: Oracle 8.1.5
>
> O/S: Sun Solaris 2.6
>
>
>
> Can somebody help me with this ?
>
> Thanks
>
> Koti Reddy
> --
> Author: Koti Reddy
> INET: KReddy_at_mail.cloudwise.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 Fri Jul 07 2000 - 19:40:28 CDT

Original text of this message

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