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: me <ma8034_at_gmail.com>
Date: 16 May 2007 11:27:56 -0700
Message-ID: <1179340076.848717.44990@n59g2000hsh.googlegroups.com>


On May 16, 9:29 am, "fitzjarr..._at_cox.net" <fitzjarr..._at_cox.net> wrote:
> 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

i can overwrite sqlplus with an alias or script without changing all scripts , something like

mysqlplus

sqlplus /nolog <<
connect user/pass_at_database
etc...

changing original passwords to dummy values works . i am just wondering if there is global solution at Unix system level to hide all password ( including online users )

thanks
Michael Received on Wed May 16 2007 - 13:27:56 CDT

Original text of this message

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