5

Password Encryption for Oracle Script

view full story
linux-howto

http://www.unix.com – Please let me know the how to hide Oracle credential in below script: Code: PP.AIX.ETL:/XYZ/abc/dsclientprod/home/scripts/monthly > cat exec_sql.sh set +x # import our environment #. /xyz/abc/dsclientprod/home/my.env ScriptOutput=/QIS2FTP/HP_ST_UAT/dsclientprod/home/scripts/ScriptRunInfo.txt StartTime=`date +%d-%m-20%y" "%H:%M:%S` input_sql=/xyz/abc/dsclientprod/home/scripts/monthly/"$1" sqlplus  GIS2OWNER/xxxxxxxx@MQISPROD @"$input_sql"   EndTime=`date +%d-%m-20%y" "%H:%M:%S` echo $2,$1,$StartTime,$EndTime >> $ScriptOutput i w (HowTos)