The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-19-2005
satguyz satguyz is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 13
Thumbs up User name and password encryption

Hi,
I have usernames and passwords (to connect oracle DB) buried in so many shell scripts.
We want to externalize all usernames and passwords from those shell scripts and encrypt them and keep them in a file.
So far I found two choices,
1) Use some encryption algorithms like (RC5/MD5) to encrypt / decrypt username/password, so that shell scripts calls the algorithm to read encrypted username/password and decrypt them and call sqlplus to logon to oracle DB.

2) Use Crypt command to encrypt/ decrypt .

I enterned into Unix&C world recently. I need your help in making the decision.
If you have any better solution for this, please let me know.

Thanks in advance.