But there is a problem if we are using "Password" here, It can be view by checking the content of script or command history. To secure password, there is a way provided by datastage and that is ENCRYPT the password before using. Let's see how we can do that ---
==============================================================================================
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Go to your ASBNode or ASBServer Datastage dir which is usually - | |
-- /opt/InformationServer/ASBNode/bin/ or | |
-- /opt/InformationServer/ASBServer/bin/ | |
cd /opt/InformationServer/ASBNode/bin/ | |
-- Search for script encrypt.sh | |
--./encrypt.sh <PASSOWRD which you want to encrupt> | |
-- This will give you a encrypted password in o/p | |
./encrypt.sh PASSWORD | |
{iisenc}lUXDuyv1LXoCYUHcOtxfCA== |
==============================================================================================
Now we can use this encrypted password ( {iisenc}lUXDuyv1LXoCYUHcOtxfCA== )wherever we want to use whether in command line or datastage scripts. This can not be de-crypt back to get the real password.
Like the Facebook Page & join Group
https://www.facebook.com/DataStage4you
https://www.facebook.com/groups/DataStage4you
https://twitter.com/datastage4you
https://groups.google.com/d/forum/datastage4you
For WHATSAPP group , drop a msg to 91-88-00-906098
No comments :
Post a Comment