Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: system passwd viewable via ps -ef
Nisar Ahmad wrote:
>
> Rich Headrick 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?
> >
> > Please emial.
> >
> > Best regards,
> >
> > Rich
>
> What you can do is to pad out the command line with lots of spaces
> before the username / password so that it goes off the end of the screen
> and you can't see it when you do a ps -ef.
>
> For example :
>
> sqlplus system/password
>
> hope that helps
>
> Nisar
You can also just issue something akin to the following:
sqlplus << EOF
system/manager
@scriptit.sql
EOF
-- ==================================================================== Byron Pearce mailto:bpearce_at_csac.com Systems Consultant http://www.csac.com Computer Systems Authority (CSA) Dallas, Texas "It's hard to be a ninja when you wear a beeper."Received on Thu Apr 10 1997 - 00:00:00 CDT
![]() |
![]() |