Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to avoid Password in shell script
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