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
Next revision Both sides next revision
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/13 14:22]
yuk.cheng
public:8039_faq:how_to_recover_ahsaycbs_system_account_password [2021/04/13 16:21]
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 ​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 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.
  <​br/>​  <​br/>​
  <​br/>​  <​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.+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+   ​Example:​ The object should contain the following items: 
-   (or search ​for+   <​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.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 112:
     <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 128:
     </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>​Note:​ the ordering of the admin account parameters may be different on your AhsayCBS ​version. file.</​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 166:
     <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 183:
     </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. 
-   <​br>​ 
-   <​br>​ 
-   For the object with: 
-   <​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>
    <​font color=black>​Restart the AhsayCBS service afterward.</​font>​    <​font color=black>​Restart the AhsayCBS service afterward.</​font>​
Line 189: Line 188:
    <​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 198:
   </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/>​
public/8039_faq/how_to_recover_ahsaycbs_system_account_password.txt · Last modified: 2022/10/25 09:24 by kirk.lim

Page Tools