On Fri, Feb 6, 2009 at 8:46 AM, Robert K.
will be saved in a file.
Actually Robert, your idea might work. Let me give you the background:
We have two AIX (IBM flavor of UNIX) servers, s1 and s2 for argument
s1 is an application server, while s2 is a DB2 server.
There is an SQL utility on s2 which we need to trigger (run), and which
execution will be initiated on s1 via ssh.
The Ruby utility running on s1 will eventually receive a return code
the SQL utility running on s2 and will take appropriate action based on
Now, to execute the SQL utility in the DB2 server, one has to use a
userid/pw which exists on DB2.
We want to encrypt the pw once, which a user will entered, and save it
The Ruby utility will read that file and at execution time decipher the
and send the request.
We don’t want to place an un-encrypted pw in a file, which is why I
I found that crypt is one way encryption utility. In other words, I can
cypher but can’t decipher with it.
Thanks to everyone for their input so far.