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: Myron Wintonyk <mwintony_at_med.ualberta.ca>
Date: Tue, 27 Feb 2001 08:49:03 +1000
Message-ID: <3A9ADD5F.3FBD1828@med.ualberta.ca>

I "hate" scripts with imbedded passwords (they are s security risk and they ALL need to be changed when the password changes).

Therefore, I have a script which will return a password. Here is an example

of it's use:

pwd=`/dba/tools/manage_db_pwd GET $db $user`

    sqlplus -s /nolog <<EOF
    connect $db_user/$pwd
    ... other commands
    exit
EOF Hope this helps.

SaraN wrote:

> 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 - 16:49:03 CST

Original text of this message

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