Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ps -ef shows oracle passwords (HP-UX)
... 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