CentraSite 10.7 | CentraSite User’s Guide | User Management | Managing Users through Command Line Interface | Changing Password of Predefined User
 
Changing Password of Predefined User
Pre-requisites:
To change the password of a predefined user through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
In certain circumstances, you may want to change the password of any of the predefined user in CentraSite.
User
Description
Predefined Password
DefaultUser
Owns all predefined objects. Change the password for this user as soon as possible after you install CentraSite.
PwdFor_CS21
guest
Configured to have view access to only some resources.
guest
PurgeUser
Used to purge log records.
LogPurger4CS
EventsUser
Used by CentraSite Events Listener for authentication before persisting event data to the RuntimeEvents Collection database. You can change the password for this user or you can change the EventsUser to a login user by configuring the Event Receiver.
EventsManager4CS
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 predefined 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> -predefinedUser <PREDEFINED-USER> -newPassword <NEW-PASSWORD>
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.
PREDEFINED-USER
A predefined user, for example, DefaultUser or EventsUser.
NEW-PASSWORD
The password for the CentraSite user identified by the PREDEFINED-USER parameter.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Password -url http://localhost:53307/Centrasite/Centrasite -user AdminUser -password ABCXYZ123 -predefinedUser DefaultUser -newPassword MyPassword2