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:57] yuk.cheng |
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/13 16:46] yuk.cheng |
||
---|---|---|---|
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 for AhsayCBS pre-v8.3.4.0. | + | 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/> | ||
Line 35: | Line 35: | ||
<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 as shown below: |
- | (or search for | + | <br> |
+ | <br/> | ||
+ | Example: The system user object should contain the following items: | ||
+ | <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/> | ||
- | ID: 1579077966764 <font color=#FF0000>(This is an example, as the system user ID: is unique for each AhsayCBS installation)</font> | ||
- | <br/> | ||
- | <br/> | ||
- | Confirm on the "Pwd" field:</font> | ||
- | <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.png"/> | ||
- | <br> | ||
- | <br> | ||
</li> | </li> | ||
<li> | <li> | ||
Line 191: | 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 200: | 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, edit the password by selecting <b>Basic</b> under <b>System Settings</b>:</font> | ||
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 206: | Line 216: | ||
<br> | <br> | ||
<br> | <br> | ||
- | </li> | ||
- | <li> | ||
<font color=black>Under <b>Administrative Access</b>, <b>Select the system account</b>, <b>Profile</b>, edit the password:</font> | <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> |