Re: Hide Password in SQL Plus

From: Dave Erwin <derwin_at_lmsc.lockheed.com>
Date: 1996/09/18
Message-ID: <derwin-1809961432460001_at_129.197.65.150>#1/1


You can use externally identified account (ops$) or do the following

sqlplus /nolog -- start sqlplus but do not logon connect username/password -- logon

In article <3238C8B9.7537_at_wwa.com>, Alexander Lyakhovetsky <alexl_at_wwa.com> wrote:

> We are using sqlplus in shell scripts. In order to connect to a
> database, we have to pass connect string but password becomes visibale
> if you run ps command. Is there any way to hide password from ps
> command?
>
> Here is a couple of lines from our script.
>
> CONNECT=dbid/password
> sqlplus $CONNECT
>
> Thanks, Alex
>
> alexl_at_wwa.com
 

-- 
Dave Erwin
Lockheed Martin Missiles & Space
Email: derwin_at_lmsc.lockheed.com

The opinions expressed are those of the author and not necessarily those of the Lockheed Martin Corporation.
Received on Wed Sep 18 1996 - 00:00:00 CEST

Original text of this message