title: Pass in db password to Groovy
body: <p>I'm trying to find a way to pass in a database (Oracle) password that's stored in an environment variable ($PSWD) to a Groovy program running on Linux or Unix such that when I run the ps command and grep on the job name it does not show the password.  All of our Groovy programs are currently executed as java programs via shell scripts (ksh right now) like so:</p>
  
  <pre><code>java group.JOBNAME $UID $PSWD
  </code></pre>
  
  <p>But of course if we simply pass in the password as an argument, we can see what that password is by running ps.  Any ideas?</p>