Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ps -ef shows oracle passwords (HP-UX)

Re: ps -ef shows oracle passwords (HP-UX)

From: Rolf Hauck <Rolf.Hauck_at_datenrevision.de>
Date: Wed, 04 Nov 1998 09:16:19 +0100
Message-ID: <36400D53.B9E07828@datenrevision.de>


... but be careful! Some Unix flavors (at least Digital Unix, not sure about HP-UX) have a version of ps that gives you the complete environment of the process, so if you put this info into an environment variable...

Rolf

B.Sc Yassir Khogaly wrote:
>
> This is done by running sqlplus -s . the following example only demonstrates
> an example ..!
> :
> UIDPWD= This depends on the way your username are stored & retrieved ...I.e
> it could be retrieved from a file
> named as the value of your "$ORACLE_SID" in $ORACLE_BASE/restrict/ by
> assigning that to an environment variable ...
> UIDPWD=`cat $ORACLE_BASE/restrict/$ORACLE_SID`
>
> sqlplus -s << _EOF_ >> /dev/null
> $UIDPWD
>
>
Received on Wed Nov 04 1998 - 02:16:19 CST

Original text of this message

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