This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/13 14:32] yuk.cheng |
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/14 13:56] yuk.cheng |
||
---|---|---|---|
Line 16: | Line 16: | ||
</b> | </b> | ||
<br/> | <br/> | ||
- | AhsayCBS: All | + | AhsayCBS: v8.1.0.0 or above |
<br/> | <br/> | ||
OS: All platforms | OS: All platforms | ||
Line 28: | Line 28: | ||
===== Steps ===== | ===== Steps ===== | ||
<html> | <html> | ||
- | The AhsayCBS system account password is not recoverable. You can login 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. | + | The AhsayCBS system account password is not recoverable. You can login 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). |
<br/> | <br/> | ||
<br/> | <br/> | ||
- | <b>For AhsayCBS v8.3.4.0 or above, if the system account password is reset to "system", on the next login to AhsayCBS web console it will automatically prompt you to change the password. Further access will not be allowed until the "system" password has been changed.</b> | + | On AhsayCBS v8.3.4.0 or above, if the system account password is reset to "system", on the next login to AhsayCBS web console it will automatically prompt you to change the password. Further access will not be allowed until the "system" password has been changed. |
<br/> | <br/> | ||
<br/> | <br/> | ||
- | To modify the system password, amend the "cbs.json" file located in: | + | To reset the system password, amend the "cbs.json" file located in: |
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 50: | Line 50: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <font color=black>(Linux) /usr/local/cbs</font> | + | <font color=black>(Linux/FreeBSD) /usr/local/cbs</font> |
</li> | </li> | ||
<li> | <li> | ||
Line 63: | Line 63: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <font color=black>Search for the exact phrase | + | <font color=black>Using a <a href="http://sourceforge.net/projects/nppjsonviewer/">JSONViewer Notepad++ plugin</a>, locate the <b>unique system user ID</b> in the "cbs.json" file. |
- | <font color=#FF0000> | + | <br> |
- | "Type":"ADMIN" | + | <br/> |
- | </font> | + | Scroll down to the <b>AdminList</b> section and expand the objects to locate the system user as shown below: |
- | (or search for | + | <br> |
+ | <br/> | ||
+ | <u>Example: The system user object should contain the following items:</u> | ||
+ | <br/> | ||
+ | <br/> | ||
+ | Name : system | ||
+ | <br/> | ||
+ | <b>ID : 1579077966764</b> <font color=#FF0000>(This is an example system user ID. As this value is unique for each AhsayCBS installation)</font> | ||
+ | <br/> | ||
+ | Type : ADMIN | ||
+ | <br/> | ||
+ | <br/> | ||
+ | <img style="width:60%; border:thin solid black" src="http://wiki.ahsay.com/lib/exe/fetch.php?media=public:8039_faq:cbs_json_2.png"/> | ||
+ | <br> | ||
+ | <br> | ||
+ | </li> | ||
+ | |||
+ | </li> | ||
+ | <li> | ||
+ | <font color=black>Search for the unique system user ID in the "cbs.json" file. | ||
<font color=#FF0000> | <font color=#FF0000> | ||
- | ADMIN | + | For example: 1579077966764 |
</font> | </font> | ||
- | with matching case)</font> | + | |
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 92: | Line 111: | ||
<tr> | <tr> | ||
<td style="BORDER-LEFT: gray 1pt solid; BORDER-RIGHT: gray 1pt solid; BACKGROUND-COLOR: #eaeaea"> | <td style="BORDER-LEFT: gray 1pt solid; BORDER-RIGHT: gray 1pt solid; BACKGROUND-COLOR: #eaeaea"> | ||
- | ... "MobileQuota":-1, | ||
<font color=#FF0000> | <font color=#FF0000> | ||
- | "Type":"ADMIN" | + | "ID":"1579077966764" |
</font> | </font> | ||
- | ,"MsMailQuota":-1,"Pwd":"%hashed_password_entries%"... | + | ,"Pwd":"%hashed_password_entries%"... |
</td> | </td> | ||
</tr> | </tr> | ||
Line 109: | Line 127: | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | <font color=black>Note: DO NOT search for the phrase <font color=#FF0000>%hashed_password_entries%</font>, it is an example only, you will not see the same phrase on your server's cbs.json file. | + | <font color=black><b>Note:</b> the ordering of the admin account parameters may be different on your AhsayCBS version.</font> |
- | <br/> | + | |
- | <br/> | + | |
- | Also, the ordering of the admin account parameters may be different on your AhsayCBS versions.</font> | + | |
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 149: | Line 165: | ||
<tr> | <tr> | ||
<td style="BORDER-LEFT: gray 1pt solid; BORDER-RIGHT: gray 1pt solid; BACKGROUND-COLOR: #eaeaea"> | <td style="BORDER-LEFT: gray 1pt solid; BORDER-RIGHT: gray 1pt solid; BACKGROUND-COLOR: #eaeaea"> | ||
- | ... "MobileQuota":-1,"Type":"ADMIN","MsMailQuota":-1, | + | "ID":"1579077966764", |
<font color=#FF0000> | <font color=#FF0000> | ||
"Pwd":"u8XmYeEGxtzY3G3RhkVML8ujxxD7TY5xpgyT6vB38HM=" | "Pwd":"u8XmYeEGxtzY3G3RhkVML8ujxxD7TY5xpgyT6vB38HM=" | ||
Line 166: | Line 182: | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | <font color=black>Note: Using a <a href="http://sourceforge.net/projects/nppjsonviewer/">JSONViewer Notepad++ plugin</a>, you can confirm if you have correctly edited the "cbs.json" file. | + | <li> |
- | <br> | + | <font color=black>Save the changes to the "cbs.json" file.</font> |
- | <br> | + | |
- | For the object with: | + | |
<br/> | <br/> | ||
<br/> | <br/> | ||
- | Name : system | ||
- | <br/> | ||
- | Type : ADMIN | ||
- | <br/> | ||
- | <br/> | ||
- | Confirm on the "Pwd" field:</font> | ||
- | <br/> | ||
- | <br/> | ||
- | <img style="width:50%; border:thin solid black" src="http://wiki.ahsay.com/lib/exe/fetch.php?media=public:5122_0.png"/> | ||
- | <br> | ||
- | <br> | ||
</li> | </li> | ||
<li> | <li> | ||
Line 189: | Line 192: | ||
<br/> | <br/> | ||
</li> | </li> | ||
+ | | ||
<li> | <li> | ||
<font color=black>Login to the AhsayCBS web console with username "system" and password "system":</font> | <font color=black>Login to the AhsayCBS web console with username "system" and password "system":</font> | ||
Line 198: | Line 202: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <font color=black>Edit the password by selecting <b>Basic</b> under <b>System Settings</b>:</font> | + | <font color=black>On AhsayCBS v8.3.4.0 or above, it will automatically prompt you to change the password.</font> |
+ | <br/> | ||
+ | <br/> | ||
+ | <img style="width:60%; border:thin solid black" src="http://wiki.ahsay.com/lib/exe/fetch.php?media=public:8039_faq:change_system_pwd.png"/> | ||
+ | <br/> | ||
+ | <br/> | ||
+ | </li> | ||
+ | <li> | ||
+ | <font color=black>On AhsayCBS pre-v8.3.4.0, after login change the password by selecting <b>Basic</b> under <b>System Settings</b>:</font> | ||
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 204: | Line 216: | ||
<br> | <br> | ||
<br> | <br> | ||
- | </li> | + | <font color=black>Under <b>Administrative Access</b>, <b>Select the system account</b>, <b>Profile</b>, update the password:</font> |
- | <li> | + | |
- | <font color=black>Under <b>Administrative Access</b>, <b>Select the system account</b>, <b>Profile</b>, edit the password:</font> | + | |
<br/> | <br/> | ||
<br/> | <br/> | ||
<img style="width:60%; border:thin solid black" src="http://wiki.ahsay.com/lib/exe/fetch.php?media=public:5122_3.png"/> | <img style="width:60%; border:thin solid black" src="http://wiki.ahsay.com/lib/exe/fetch.php?media=public:5122_3.png"/> | ||
+ | <br/> | ||
+ | <br/> | ||
</li> | </li> | ||
</ol> | </ol> |