Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Hide password in AIX
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
![]() |
![]() |