Encrypting passwords when triggering jobs via shellscript

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
yaminids
Premium Member
Premium Member
Posts: 387
Joined: Mon Oct 18, 2004 1:04 pm

Encrypting passwords when triggering jobs via shellscript

Post by yaminids »

Hello friends,

We use Espresso to schedule all our jobs by triggering them via shellscripts.The problem is that the passwords are appearing in clear text in the logs of Espresso.
Is there a way to encrypt passwords when triggering the jobs through shellscripts?

Thanks a lot in advance
Yamini
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You could use encrypted environment variables.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
yaminids
Premium Member
Premium Member
Posts: 387
Joined: Mon Oct 18, 2004 1:04 pm

Post by yaminids »

Thanks for the info Ray
One more question: How can I mask the DataStage userid who is running the job

Thanks
Yamini
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

'Mask the userid' in what sense? They will still own the PIDs generated and show up on any kind of process scan or query, so I'd be suprised if it's possible. But then I've been surprised before.
-craig

"You can never have too many knives" -- Logan Nine Fingers
yaminids
Premium Member
Premium Member
Posts: 387
Joined: Mon Oct 18, 2004 1:04 pm

Post by yaminids »

Craig,

I was mistaken. I thought that passwords would be displayed in clear in the scheduling tool
Anyway, I have encrypted all the passwords in environment variables

Thanks
Yamini
Post Reply