How to recover AhsayCBS system account password?
Article ID
Last Reviewed Date
Product Version
Operating System
Description
This Know-How article contains information on how to recover the AhsayCBS system account password.
Solution
The AhsayCBS system account password is not recoverable. You can log in to the AhsayCBS web console by temporarily resetting the system account password to "system", then modify the password again (to a password of your choice) in the AhsayCBS web console afterward (applies to AhsayCBS pre-v8.3.4.0).
On AhsayCBS v8.3.4.0 or above, there is a security requirement if the system account password is reset to "system", on the next login to the AhsayCBS web console using the system account it will automatically prompt you to change the password. Further access will not be allowed until the "system" password has been changed.
To reset the system password, amend the "cbs.json" file located in:
${Install-Home}\conf
Value of ${Install-Home} for various operating system:
- (Windows) C:\Program Files\AhsayCBS
- (Linux/FreeBSD) /usr/local/cbs
- (AhsayUBS) /ubs/mnt/eslsfw/obsr/conf
Steps:
- Stop the AhsayCBS Service.
- Open "cbs.json" with a text editor such as Notepad++.
- Using a JSONViewer Notepad++ plugin, locate the unique system user ID in the "cbs.json" file:
Scroll down to the AdminList section and expand the objects to locate the system user as shown below:
Example: The system user object should contain the following items:
Name: system
ID: 24134 (This is an example system user ID. The value is unique for each AhsayCBS installation)
Type: ADMIN
-
Search for the unique system user ID in the "cbs.json" file. For example: 24134
The ordering of the admin account parameters may be different on your AhsayCBS version. -
Edit the "Pwd" entry by replacing
"Pwd":"????????????????????????????????????????????"
with
"Pwd":"u8XmYeEGxtzY3G3RhkVML8ujxxD7TY5xpgyT6vB38HM="
- Save the changes to the "cbs.json" file.
- Start the AhsayCBS service afterward.
-
Login to the AhsayCBS web console with username "system" and password "system":