FileCloud Admin can reset the Admin password from command line, in case the current password is forgotten. The reset password script also clears any admin login locks. It also disables the 2 Factor Authentication, if enabled.
In a linux command shell, type the following commands. After the commands are executed, Admin's password will be reset to 'password'.
If the the reset password command fails, ensure mongo.so is enabled for php client.
To enable mongo.so, add the following line at the end of file /etc/php5/cli/php.ini (if this line doesn't exist in the file)
In a windows command shell, type the following commands. After the commands are executed, Admin's password will be reset to 'password'.
Reset Admin Password in Multi-Site Setups
To reset password for another site, pass in the hostname using -h parameter
resetamdinpw.php -h site2.xyz.com
Starting with the 17.3 version it is now possible to reset the Admin Password for each site directly from the SuperAdmin UI.
- Login to the Administration Portal with the Super Admin credentials
- Navigate to Site Settings
- Reset Admin Password
For more infromation please visit the Multi-Tenancy Settings Page.