put your userid and password and all other parameters in parfile and run.
exp parfile=abc.parfile
It will hide your password on unix level. your password file should be 
readable by you only...

Regards
Rafiq


Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Date: Thu, 31 May 2001 05:07:24 -0800

a) Changet the script to

print "system/password" | exp full=y ...

so no-one can see it with a 'ps'

b) chmod 700 daily_exp.sh

so no-one except the (presumably) oracle account can
see the script

hth
connor

--- "CHAN Chor Ling Catherine (CSC)"
<[EMAIL PROTECTED]> wrote: > 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).


=====
Connor McDonald
http://www.oracledba.co.uk (mirrored at
http://www.oradba.freeserve.co.uk)

"Some days you're the pigeon, some days you're the statue"

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: =?iso-8859-1?q?Connor=20McDonald?=
   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).

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mohammad Rafiq
  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).

Reply via email to