Re: Hiding password from ps - Need better solution

From: Chuck Hamilton <chuckh_at_ix.netcom.com>
Date: 1996/04/10
Message-ID: <316bf949.4370931_at_nntp.holonet.net>#1/1


badri_at_cc.gatech.edu (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
>

I 2nd the o/s authentication solution. It not only solves the ps -ef problem, and the hardcoded password problem of a here document, but it also lets you force a regular password change by doing it at the o/s level.

--
Chuck Hamilton
chuckh_at_dvol.com

Never share a foxhole with anyone braver than yourself!
Received on Wed Apr 10 1996 - 00:00:00 CEST

Original text of this message