Generate password for all clients TSM

joseluis

ADSM.ORG Member
Joined
Jul 27, 2009
Messages
16
Reaction score
0
Points
0
Hi,

I want generate a script to estasblish password with TSM in a Unix system with the command "dsmc q sess", for all instances in the node.

anybody have information about specific user and password for all clients instances in the node?

(user is any, i need leave blank this option, and doing "enter")
(password is the same for all instances),

Thanks very much all,
 
The problem with what you want to do is how to execute dsmc on the node and send an answer to the prompts accordingly.

Unfortunately, when dsmc is engaged, this TSM Interactive command line is not very open to scripted responses. I have tried this with different scripting shells and scripting languages without any success.

I don't know if someone out there had found a different approach.
 
It has been years since I used it and not with TSM and it may be overkill for just this but there is a great pkg called Expect that is extremely good at allowing you to create interactive scripts. It is a scripting language so there could be a learning curve for those not into scripting. But one of the examples is a script that will create a script by watching you use an application.

http://expect.nist.gov/
 
It has been years since I used it and not with TSM and it may be overkill for just this but there is a great pkg called Expect that is extremely good at allowing you to create interactive scripts. It is a scripting language so there could be a learning curve for those not into scripting. But one of the examples is a script that will create a script by watching you use an application.

http://expect.nist.gov/

I don't want to rain on your parade but I tried expect and I get 'unpleasant' results.

DSMC is not very receptive.
 
Pity. I was going to reaquaint myself with it but not specifically in conjunction with dsmc.
 
Back
Top