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: Hiding password on the server side

Re: Hiding password on the server side

From: Andrew Velichko <andrew_velichko_at_yahoo.com>
Date: Mon, 26 Feb 2001 14:54:28 -0500
Message-ID: <Nyym6.134306$Z2.1804017@nnrp1.uunet.ca>

Hi SaraN!

Below is an example of .sh script about how we fix this problem: #!/bin/ksh
# setup the environment variable
. /export/home/.set_env
sqlplus -s >/dev/null <<EOF
$dbuser/$dbpassword
set serverout on size 10000 term off timing off ...
EOF
...

dbuser and dbpassword are defined in .set_env file: #!/bin/ksh
dbuser=username;export dbuser
dbpassword=password;export dbpassword
...

Andrew Velichko
Brainbench MVP for Oracle Developer 2000 http://www.brainbench.com


"SaraN" <Vishmayaa_at_yahoo.nospam.com> wrote in message news:3A9AB20D.DE827B2F_at_yahoo.nospam.com...
> Currently I are running some Sql scripts for certain data feeds. While
> this is feed is on, users logged onto this machine are able view my
> database passwords by doing a ps - ef on the system.

>

> I would like to hide the password. I vaguely remember a hide.c function
> which would enable me to do this. Am I right. If I am where would I find
> it. Any help on this would be really appreciated.
>

> Thanks IA
>

> SaraN
> vishmayaa_at_yahoo.com

> Received on Mon Feb 26 2001 - 13:54:28 CST

Original text of this message

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