Hi,
Pl look into the parfile option for export/import. You can keep all your
export/import command line parameters in there, including userid/password.
Parfile (with chmod 700) is only accessible to the owner, so no one else can
see what is in it. And when you run exp/imp nothing from the parfile will be
displayed in the 'ps' output either. You can refer to Oracle Utilities
Guide for more information on exp/imp.
HTH,
Regards,
- Kirti Deshpande
Verizon Information Services
http://www.superpages.com
> -----Original Message-----
> From: CHAN Chor Ling Catherine (CSC) [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 31, 2001 3:50 AM
> To: Multiple recipients of list ORACLE-L
> Subject: How to encrypt Password in Export script file ?
>
> Hi Unix Gurus,
>
> My daily export file (daily_exp.sh) contains :
> exp userid='system/password' file=file_name.dmp grants=y rows=y
> constraints=y compress=y full=y inctype=complete log=file_name.log
>
> The system password is stated clearly in the export script file. Has
> anyone
> encrypt/decrypt the system password before passing it as a variable to the
> export script ? If yes, could I have a copy of your script ? Thanks.
>
> Regds,
> New Bee in Unix
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: CHAN Chor Ling Catherine (CSC)
> INET: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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: Deshpande, Kirti
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).