Kbase P105599: How to Supply a Password when remotely issuing the wtbman command in an UNIX script
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/03/2010 |
|
Status: Verified
GOAL:
How to supply a password when remotely issuing the wtbman command using a UNIX script
GOAL:
How to supply the wtbman command a password using a remote UNIX script
FACT(s) (Environment):
All Supported Operating Systems
WebSpeed 2.x
WebSpeed 3.x
OpenEdge 10.x
FIX:
A user name and password are required when you use the -host parameter and specify a remote host name. The wtbman command does have a parameter to enter in the user name (-user) but not for the password.
In your script, you need to echo the password into the wtbman command.
An example of supplying the password to the command would be as follows:
echo <password> | wtbman wsbroker1 -host <name> -port <##> -user <user-name> -<start/stop/query>