瀏覽代碼

Password Reset updates (#105)

* images add

* Update password_reset.rst

* Update password_reset.rst

* Update password_reset.rst

* Update password_reset.rst

* update content, fix typo
Len 7 年之前
父節點
當前提交
2eca989ce1

二進制
source/_static/images/fusionpbx_database_configuration.jpg


二進制
source/_static/images/fusionpbx_detect_freeswitch.jpg


二進制
source/_static/images/fusionpbx_password_recovery.jpg


二進制
source/_static/images/install_lang_new.jpg


+ 95 - 5
source/additional_information/password_reset.rst

@@ -1,11 +1,101 @@
-##############
-Password Reset
-##############
+#######################
+Current Password Reset
+#######################
 
 
-The steps below are outdated but useful for older installations. `Click here for the new youtube video on password recovery. <https://youtu.be/YrlfscQ_3ew>`_ 
+ `Click here for the new youtube video on password recovery. <https://youtu.be/YrlfscQ_3ew>`_ 
 
-| Here some rough steps to change the password of the database. The password can only be changed and not recovered.
+The current method to changing the superadmin password is actually to make a new superadmin user name and password.
+
+.. note::
+       In older installations of FusionPBX config.php is located in /var/www/fusionpbx/resources/
+
+1. Move the config.php file temporarily.
+
+::
+
+ cd /etc/fusionpbx
+ mv config.php config1.php
+
+|
+2. Go to the FusionPBX install login page.  This will put FusionPBX into a recovery mode.  Choose the language for your region and **click next.**
+
+.. image:: ../_static/images/install_lang_new.jpg
+        :scale: 85%
+|
+
+
+3. Make sure FreeSWITCH is running.  If it is, the fields will be populated like they are in the image below.  The paths will vary depending on operating system and method of FreeSWITCH installation.  **Click next**
+
+
+.. image:: ../_static/images/fusionpbx_detect_freeswitch.jpg
+        :scale: 85%
+
+
+
+4.  In this step, you create what you want for the new superadmin user and password.  It has to be a user and password that **does not already exist.**
+
+
+.. image:: ../_static/images/fusionpbx_password_recovery.jpg
+        :scale: 85%
+
+
+5. Database Host, Database Port, Database name should be pre filled.  To provide the Database Username and Database Password you will have to locate those in the config.php file that we moved eariler. The code block below shows an easy way to retrieve the database password. Once those are filled in click **next.**
+
+
+::
+ 
+ cd /etc/fusionpbx
+ cat config1.php | grep password
+        $db_password = 'databasepasswordfromconfig.php';
+
+
+
+.. image:: ../_static/images/fusionpbx_database_configuration.jpg
+        :scale: 85%
+
+
+
+6. You should have a new config.php file in the /etc/fusionpbx/  directory.  Proceed to login to with the new superadmin user name and password.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+|
+
+-----------------------------------------------------
+
+|
+
+
+
+|
+
+|
+
+
+|
+
+**Old Password Reset**
+^^^^^^^^^^^^^^^^^^^^^^
+
+
+
+| The steps below are outdated but useful for older installations up to version 4.0. Here are some rough steps to change the password of the database. The password can only be changed and not recovered.
 
 |