Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to avoid Password in shell script
You should be able to set up an externally authenticated account that is the
same as the userid the cron job runs from. Then you can just login with a
"SQLPLUS /" and it will go right in.
See "Authentication by the Operating System" in Chapter 26 of the Concepts manual.
> ----------
> From: Koti Reddy[SMTP:KReddy_at_mail.cloudwise.com]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Friday, July 07, 2000 6:40 PM
> To: Multiple recipients of list ORACLE-L
> Subject: How to avoid Password in shell script
>
>
> 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 - 20:13:05 CDT