Let's say I run a script from a cron job and pass system/[password] in the script...
If I do a ps -ef|grep system
It'll show the system password...
Any ideas (other than "don't do that")?
Printable View
Let's say I run a script from a cron job and pass system/[password] in the script...
If I do a ps -ef|grep system
It'll show the system password...
Any ideas (other than "don't do that")?
do
sqlplus -s << EOF
username/password@tns
.....
.....
exit
EOF
this wont show username/password in ps
Excellent idea. Thank you.