Software AG Products 10.5 | Using CentraSite | User Management | Managing Users through Command Line Interface | Changing Password of Login User in Password Store
 
Changing Password of Login User in Password Store
Pre-requisites:
To change the password of a predefined user through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a secure password store for managing the passwords of login users whose credentials are required for internal communication between CentraSite components. Examples are the use of policies such as Promote Asset and Initiate Approval, which policies cause a lifecycle model state change that requires the approval of an authorized login user.
This password store exists in parallel to the user repository that CentraSite uses for authentication of users. There is no automatic synchronization of passwords between the user repository and the password store. The password for a given login user in the password store must be the same as the password for the same login user in the user repository. If you change a password in the user repository, you must manually update the password in the password store to the same new password.
CentraSite provides a command tool named set Password for this purpose.
Note:
If you change the password for a user, you must update the CentraSite registry because multiple Application Server Tiers can access a single registry and any password change that occurs on one Application Server Tier must be made known to the other Application Server Tiers.
Note:
After setting the password, you must restart Software AG Runtime for the changes to take effect.
*To change the password of a login user from the Command Line
*Run the command set Password.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Password [-url <CENTRASITE-URL> -user <USER-ID> -password <PASSWORD> -userToStore <USER-TO-STORE> -passwordToStore <PASSWORD-TO-STORE>
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the CentraSite user identified by the parameter USER-ID.
USER-TO-STORE
The login user for which the password is stored.
PASSWORD-TO-STORE
The password for the CentraSite user identified by the USER-TO-STORE parameter.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Password -url http://localhost:53307/CentraSite/CentraSite -user AdminUser -password ABCXYZ123 -userToStore LOGIN\user -passwordToStore MyPassword2