소스 검색

Update password_reset.rst

FusionPBX 4 년 전
부모
커밋
e27cf4b6f7
1개의 변경된 파일1개의 추가작업 그리고 98개의 파일을 삭제
  1. 1 98
      source/additional_information/password_reset.rst

+ 1 - 98
source/additional_information/password_reset.rst

@@ -25,17 +25,13 @@ The current method to changing the superadmin password is actually to make a new
  cat config1.php | grep password
 
 |
-2. Go to the FusionPBX install login page in the web browser.  This will put FusionPBX into a recovery mode.  Choose the language for your region and **click next.**
+2. Go to the FusionPBX install login page in the web browser.  This will put FusionPBX into a recovery mode. **click next.**
 
 .. note::
 
  You will type in your web browser either the ip hxxps://xxx.xxx.xxx.xxx or  the domain name hxxps://sub.domain.tld .
  
 
-.. image:: ../_static/images/install_lang_new.jpg
-        :scale: 85%
-|
-
 
 3.  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.**
 
@@ -64,96 +60,3 @@ The current method to changing the superadmin password is actually to make a new
 
 
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-|
-
------------------------------------------------------
-
-|
-
-
-
-|
-
-|
-
-
-|
-
-**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.
-
-|
-
-| The database contains a table called **v_users** which contains the username, password and salt. The password is the md5 hash of the password and the salt. 
-
-**Password Hash**
-^^^^^^^^^^^^^^^^^
-
-| Use the following commands to generate the password hash. Don't forget to provide your own salt and password.
-
-::
-
- echo '<?php $salt = "random-salt-goes-here";$password = "put your password here"; echo md5($salt.$password)."\n"; ?>' > /tmp   /test.php
-
-
-| Run the php file from command line.
-
-::
-
- php /tmp/test.php
-
-
-**SQLite**
-^^^^^^^^^^^
-
-| Install sqlite3 which can be be used to modify the database fusionpbx.db. Then open the database with the following:
- 
-::
-
- sqlite3 fusionpbx.db
-
-**PostgreSQL**
-^^^^^^^^^^^^^^^
-
-| Connect to the PostgreSQL database. Once you are running psql you can use:
-
-* \\l to list the databases.
-* \\c to connect to one of them.
-* After running the SQL Query then use \q to quit.
-
-::
-
- su postgres
- psql
- \c fusionpbx
-
-
-**Change the Password**
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-The hashed password and the salt can be updated using the command:
-
-::
-
- update v_users set password = 'replace-with-password-hash-from-php-script', salt = 'replace-with-your-random-salt' where       username = 'superadmin';
- 
-