This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/13 15:55] yuk.cheng |
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2022/10/25 09:24] (current) kirk.lim |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== FAQ: How to recover AhsayCBS system account password? ===== | + | ===== [V8] FAQ: How to recover AhsayCBS system account password? ===== |
<html> | <html> | ||
<b> | <b> | ||
Line 9: | Line 9: | ||
Reviewed | Reviewed | ||
</b> | </b> | ||
- | : 13/04/2021 | + | : 2021-04-13 |
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 16: | Line 16: | ||
</b> | </b> | ||
<br/> | <br/> | ||
- | AhsayCBS: All | + | AhsayCBS: v8.1.0.0 to 8.x |
<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 for AhsayCBS pre-v8.3.4.0. | + | 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). |
<br/> | <br/> | ||
<br/> | <br/> | ||
- | 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. | + | 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. |
<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 57: | Line 57: | ||
</ul> | </ul> | ||
<ol style="list-style-type: decimal"> | <ol style="list-style-type: decimal"> | ||
+ | <li> | ||
+ | <font color=black>Stop the AhsayCBS Service.</font> | ||
+ | <br/> | ||
+ | <br/> | ||
+ | </li> | ||
<li> | <li> | ||
<font color=black>Open "cbs.json" with a text editor such as Notepad++.</font> | <font color=black>Open "cbs.json" with a text editor such as Notepad++.</font> | ||
Line 65: | Line 70: | ||
<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=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. | ||
<br> | <br> | ||
+ | <br/> | ||
+ | Scroll down to the <b>AdminList</b> section and expand the objects to locate the system user as shown below: | ||
<br> | <br> | ||
- | Example: The object should contain the following items: | + | <br/> |
+ | <u>Example: The system user object should contain the following items:</u> | ||
<br/> | <br/> | ||
<br/> | <br/> | ||
Name : system | 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/> | <br/> | ||
Type : ADMIN | Type : ADMIN | ||
<br/> | <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/> | <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"/> |
- | <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> | ||
<br> | <br> | ||
</li> | </li> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | | + | |
</li> | </li> | ||
<li> | <li> | ||
Line 128: | Line 132: | ||
</tr> | </tr> | ||
</table> | </table> | ||
- | <font color=black>Note: the ordering of the admin account parameters may be different on your AhsayCBS version. file.</font> | + | <font color=black><b>Note:</b> the ordering of the admin account parameters may be different on your AhsayCBS version.</font> |
<br/> | <br/> | ||
Line 183: | Line 187: | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | <li> | ||
+ | <font color=black>Save the changes to the "cbs.json" file.</font> | ||
+ | <br/> | ||
+ | <br/> | ||
+ | </li> | ||
<li> | <li> | ||
- | <font color=black>Restart the AhsayCBS service afterward.</font> | + | <font color=black>Start the AhsayCBS service afterward.</font> |
<br/> | <br/> | ||
<br/> | <br/> | ||
Line 206: | Line 215: | ||
</li> | </li> | ||
<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> | + | <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 212: | Line 221: | ||
<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> |