Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Hide password in AIX

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@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 @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 @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 - 08:59:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US