Re: Hide password in AIX

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: Fri, 1 Oct 1999 13:59:03 GMT
Message-ID: <37F4BE27.B02366F5_at_edcmail.cr.usgs.gov>


Put the password in a file. Make that file read only for the owner of the file. Then use:

   sqlplus system _at_sql_script < passwordfile

This will hide the password from the ps -ef command

HTH,
Brian

KC wrote:
>
> Hi all,
>
> We used the following tricks to hide password on command line on
> HPUX:
> 1. Create a shell environemt var for system password, eg.
> SYS_PASS=manager
> 2. Run a sqlscript, eg. $sqlplus system/$SYS_PASS _at_sql_script
>
> But the same trick used on AIX would reavel naked password for the user.
> Is there any good way of hiding password?
>
> Thanks,
> Kevin
Received on Fri Oct 01 1999 - 15:59:03 CEST

Original text of this message