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: Hide SqlPlus username/password in UNIX Script

Re: Hide SqlPlus username/password in UNIX Script

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Thu, 01 May 2003 18:21:28 -0700
Message-ID: <3EB1C818.4C7BDEF9@exxesolutions.com>


Erik Ykema wrote:

> You could also define an environment variable, like export
> MMCONNECT=user/password_at_instance
> and then connect to sql*plus in the unix-script with
> sqlplus $MMCONNECT @script.
> By executing
> set | grep MMCONNECT
> a logged-in user can see the value of MMCONNECT.
> Also trusted oracle (sqlplus /) might help out, the acces control is the
> shifted from sql*plus access restriction to unix.
> Good Luck,
> Erik Ykema
>
> "Ubiquitous" <weberm_at_polaris.net> wrote in message
> news:Tbucnc2T7KxwPy2jXTWcpA_at_comcast.com...
> > In article <d6052717.0304230844.2382873d_at_posting.google.com>,
> > gilgantic_at_yahoo.com wrote:
> >
> > >I want to hide the username and password when I run SqlPlus on in a UNIX
> > >script.How do I do this?
> >
> > I never tried it, but about using a stored PL/SQL procedure containing
> > the call which invokes SQL*LOADER? That way you just invoke the stored
> > procedure without showing the password.
> >
> > --
> > ======================================================================
> >

Dangerous security breach. Why not just use an OPS$ account?

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Thu May 01 2003 - 20:21:28 CDT

Original text of this message

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