Changing password of admin users of multiple EMS instances at one go.

Changing password of admin users of multiple EMS instances at one go.

book

Article ID: KB0077634

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service All

Description

Changing password of all admin users of multiple EMS instances at one go.

Issue/Introduction

Changing password of all admin users of multiple EMS instances at one go.

Environment

ALL

Resolution

Write a script with any name containing following commands:
                                connect <server1-path> <user-name(with admin privileges)> <password>
                                set password <user-name> <new-password>
                                commit
                                disconnect
 
                                connect <server2-path> <user-name(with admin privileges)> <password>
                                set password <user-name> <new-password>
                                commit
                                disconnect
.
.
.
                                connect <serverN-path> <user-name(with admin privileges)> <password>
                                set password <user-name> <new-password>
                                commit
                                disconnect
Run this script against tibemsadmin tool found under EMS-Home\bin folder using following command:
                                tibemsadmin -script <path\script-name>
A sample script 'cpass.script' is attached along with the article which can be run against tibemsadmin tool as:
                                C:\tibco\ems\8.3\bin>tibemsadmin -script D:\work\cpass.script
 

Attachments

Changing password of admin users of multiple EMS instances at one go. get_app