How to pass user credentials for starting tibemsadmin by NOT using -passwordin a script.

How to pass user credentials for starting tibemsadmin by NOT using -passwordin a script.

book

Article ID: KB0084698

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Description:
= = = = = = =
tibemsadmin allows you to pass the credentials using -password as an argument to the command.  If you do not include the -password argument tibemsadmin will interactively prompt you for a password.  If there is a need to script this and you do not want to pass the password details as an argument because the credentials will show up in the ps output, the password credentials can be read from a file using the –pwdfile argument.

Resolution:
= = = = = = =
The –pwdfile command line option for tibemsadmin has been available since version 5.1.4.

Usage:

tibemsadmin -server &lturl> -user &ltname> -pwdfile &ltfile name>

Environment:
= = = = = = =
tibemsadmin 5.1.4+

Issue/Introduction

How to pass user credentials for starting tibemsadmin by NOT using -passwordin a script.