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.
|