You can easily reset mediawiki password as follows:
Using changePassword.php Script
You need to login to your server using ssh client where your mediawiki is installed. Next, you have to run the script from the command line. Once logged in go to the installation directory, then go to the maintenance subdirectory. In this example, mediawiki is installed at /home/httpd/wiki directory, enter:$ cd /home/httpd/wiki/maintenance
Finally, run the following command:
php changePassword.php --user=YOUR-USERNAME-HERE --password=YOUR-PASSWORD-HERESample outputs:
# reset a password for Vivek user
php changePassword.php --user=Vivek --password=myPassowrd
Password set for VivekNow you user Vivek can login without any problem.
No comments:
Post a Comment