Re: Hiding password from ps - Need better solution

From: bill <billm_at_ro.com>
Date: 1996/04/08
Message-ID: <31692FC4.186F_at_ro.com>#1/1


badri wrote:
>
> Hi:
>
> We have an ORACLE 7.2 database on Dynix/ptx 4.1.2. I wanted
> to hide the username and password from "ps" command.
>
> I called ORACLE about hiding password from the ps command.
> I was given a program called hide.c. This program works great if
> I do just ps. However, If I do "ps -ef" (or whatever your implementation's
> way of showing ps with arguments is)and the password is still visible.
> Is there a way of doing this? I would ideally like the following:
>
> If my command is
>
> sqlplus username/password _at_command arguments
>
> I want ps (or ps -ef) to show
>
> sqlplus _at_command arguments
>
> Any ideas?
> thanks a lot,
> -Badri

You may also have to change the mode of the sqlplus command file to 111. i.e chmod 111 sqlplus
We had to do that on our MIPS machine.
Users will still be able to execute sqlplus. Received on Mon Apr 08 1996 - 00:00:00 CEST

Original text of this message