title: encrypted password file for the linux
body: <p>i am using the redhot linux</p>
  
  <p>i am storing the database username and password in to one text file called as filename.txt.this filenam.txt is a variable in my shell script. </p>
  
  <pre><code>filename=/home/oracle/filename.txt
  vi filename.txt
  auth scott tiger
  
  username=`cat ${filename} | grep auth | awk ' {print $2}'`
  
  password=`cat ${filename} | grep auth | awk ' {print $3}'`
  </code></pre>
  
  <p>i am using  this username and password variables into the my script to connect to the data base.</p>
  
  <p>can any body help me how to encript this text file (filename). so that other persons can't sea the data in it.and also how to use the encrypted text file.</p>