I am connecting the database DB1 from server A to B thro tns in shell script as we have some restriction on server A which our database server.
eg:
Sqlplus batchuser1/********@db1.
As of now we have hardcoded the password in .profile of the OS user and Value is populated in shell script using some variable in script.
I want to avoid hardcoding since I can see the password when i take the log of this script execution. Password should not visible and at the same time i need to connect from server B thro TNS .