Hello,
I have a paramter file, In which I store all the user-ids and passwords for the project. So if a user just invokes the paramter file he has access to all the variables, which i have exported in the parmatere file.
Now if a user echo's the variable which stores the databse password. He can clearly view it on the screen.
I define the password variable something like this.
var_pwd=pa$$worD
export var_pwd
So if I do
echo $var_pwd, It displays the password. I dont want this to be displayed as is, the output of echo should be some encryted text. How can i do this?
Thanks
DSDexter