HowTo: Mediawiki Reset a User Password

https://w‮‬ww.lautturi.com
HowTo: Mediawiki Reset a User Password

To reset a user's password in Mediawiki, you can use the "passwordreset" feature. Here's how:

  1. Log in to your Mediawiki site as an administrator.
  2. Go to Special Pages and click on "Change Password".
  3. Enter the username of the account whose password you want to reset.
  4. Click on the "Reset" button.

This will send an email to the user with a link to reset their password. If the user does not have an email associated with their account, you can reset their password manually by going to the "User Manager" page (under the "Users and Rights" section of the "Special Pages" menu) and clicking on the "Set Password" button next to the user's name.

Alternatively, you can reset the password directly in the database using a tool such as PHPMyAdmin or the MySQL command-line interface. To do this, you will need to update the "user_password" field in the "user" table with the new password, using a hash generated with the Mediawiki password hashing function.

It is important to note that resetting a user's password will also invalidate any existing sessions, so the user will need to log in again with the new password.

Created Time:2017-10-29 22:08:44  Author:lautturi