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: database password

Re: database password

From: <fitzjarrell_at_cox.net>
Date: 16 May 2007 09:29:12 -0700
Message-ID: <1179332951.151800.305380@e65g2000hsc.googlegroups.com>


On May 16, 10:31 am, me <ma8..._at_gmail.com> wrote:
> hi,
>
> i have hundereds of scripts with 'sqlplus user/pass_at_database' and i
> need to find a way to prevent online users seeing the password ( ps -
> ef | grep sqlplus ).
>
> changing scripts is not possible and all scripts run in a scheduler
> with secure Unix user.
>
> i am tempted to create an alias for sqlplus but i would like to hear
> about alternatives.
>
> thanks
> Michael

If changing the scripts isn't possible then why are you asking for a change?

You do need to change the scripts to hide the user and password:

sqlplus <<EOF
connect user/pass_at_database
<SQL script text here>
EOF Such a change would hide the user and password from prying eyes via ps -ef.

Of course, if you're not going to make that change you can't be that concerned with your security (in my opinion).

David Fitzjarrell Received on Wed May 16 2007 - 11:29:12 CDT

Original text of this message

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