Manual:Resetting passwords

There are any number of situations where a user may need to reset their password.

Typically, people either forget their password or experience some kind of security breach that may have discl.

Methods
The other

=== Use the changePassword.php m

Use Special:PasswordReset
Special:PasswordReset allows accounts with the 'passwordreset' permission to reset account passwords for the local installation of MediaWiki.

To use:


 * Type username you want to reset in box provided and click "Reset password"


 * An automatically generated password will be emailed to the user

For automatically inserting the username in links, use.

Direct database modification
To reset a password you can change the value of the  field inside the   table in your database.

However, it's generally far easier and safer to use>#Use Special:UserLogin|use "Email new password" or use2>#Use the changePassword.php maintenance script|use the changePassword.php script.

If your MediaWiki installation uses a memory cache, such as APC, memcached or Redis, then the user object is cached.

Thus after making SQL changes you must flush the cache before a user can log in with the new password.

You should choose the according method depending on the value of   in .

TODO: Fix documentation of the :pbkdf2:... password format. ":pbkdf2:sha256:10000:128:", 'another-string', 'another-key' only is correct sometimes! The numbers may change and no idea, what "another-string" and "another-key" actually are...


 * MySQL pbkdf2:


 * MySQL salted (make sure both instances of "somesalt" are the same):


 * PostgreSQL pbkdf2:


 * PostgreSQL salted (make sure both instances of "somesalt" are the same):