Recovery Mode
Option 1: Recovery Password in File
This option is a more secure approach to recovery since the password will be read from a file.
- Create a file in a secure location. Be sure to make a note of this location, we’ll be using it in step 3.
- On the first line of the file, add the recovery password and save it.
- Add the following environment variable REDACTOR_RECOVERY_PW_FILE, and set its value to the path where your recovery password file is located.
- ie. REDACTOR_RECOVERY_PW_FILE=”C:/secure/folder/anyname.txt”
- Restart the server.
Then when logging in, use “Redactor-recovery” as the Username and then use the temporary password you set in your recovery password file as the Password.
If you successfully login with the recovery account you’ll see “Redactor-recovery” at the top right of the screen.
This account has admin access to Redactor giving you full control of anything in the admin dashboard, including the ability to reset passwords or create new accounts. Once finished with the recovery account simply remove the environment variable, delete your recovery password file and reset the server.
Option 2: Recovery Password in Environment Variable
Warning
Other services running on the computer or users that have access to the computer will be able to see the password in the Environment Variable.
- Make your environment variable with the Variable name: REDACTOR_RECOVERY_PW
- The Variable value will then be whatever temporary password you want to use for the recovery account.
- ie. temppassword
- Make sure to restart the server after the environment variable is created.
Then when logging in, use “Redactor-recovery” as the Username and then use the temporary password you set in your environment variable as the Password.
If you successfully login with the recovery account you’ll see “Redactor-recovery” at the top right of the screen.
This account has admin access to Redactor giving you full control of anything in the admin dashboard, including the ability to reset passwords or create new accounts. Once finished with the recovery account simply remove the environment variable and reset the server.