User Tools

Site Tools


public:8039_faq:how_to_recover_ahsaycbs_system_account_password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/13 14:21]
yuk.cheng [Steps]
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>​
- : ​27/03/2019+ : ​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 ​changing ​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 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/>​ 
-For AhsayCBS v8.3.4.0 or above, if you reset the system account password to "​system", ​when you login to AhsayCBS web console ​you will be automatically ​prompted ​to change the password. Further access will not be allowed until the system” password has been changed.+ <br/> 
 +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 49: 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 56: 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 62: Line 68:
   </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 91: Line 116:
     <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 108: Line 132:
     </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 148: Line 170:
     <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 165: Line 187:
     </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>
-   <​font color=black>​Restart ​the AhsayCBS service afterward.</​font>​+   <​font color=black>​Start the AhsayCBS service afterward.</​font>​
    <​br/>​    <​br/>​
    <​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 197: Line 207:
   </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 203: 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>​
public/8039_faq/how_to_recover_ahsaycbs_system_account_password.1618294916.txt.gz · Last modified: 2021/04/13 14:21 by yuk.cheng

Page Tools