Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: system passwd viewable via ps -ef
I create an id/password file called say $HOME/sql/id.sql (readable only by
me) that contains id/password.
I define an alias of say S that equals sqlplus @$HOME/id.sql and that's all
you see on a ps -ef.
Works fine.
For scripted (batch) sqlplus, we've instuted the following:
cat $HOME/sql/id.sql $HOME/sql/<scripname.sql> | sqlplus -silent > $HOME/log/sqlplus.out
Doug Anderson <dathedba_at_mindspring.com> wrote in article
<5j5ej8$3uc_at_camel1.mindspring.com>...
> Rich Headrick <r4bhead_at_pacbell.com> wrote:
> >How do surpass the ps -ef | grep <user>/<passwd>. Is there a way to
> >pass a variable that doesn't show up using ps -ef?
>
> Am I missing something or what? When I use the -s switch on sqlplus
> it doesn't seem to show the username/password in ps.
>
> example:
>
> sqlplus -s system/manager @test
>
> 'ps -ef' just shows 'sqlplus -s' as the command.
>
>
> - Doug Anderson
> Oracle Database Administrator
> DAtheDBA_at_mindspring.com
>
>
Received on Thu Apr 17 1997 - 00:00:00 CDT
![]() |
![]() |