Manual:Resetting passwords/de

Es gibt viele Situationen, in denen ein Benutzer sein Passwort zurücksetzen muss. Typically, people either forget their password or experience some kind of security breach that may have disclosed their password. In den meisten Fällen können sie ihr Passwort selber zurücksetzen, in dem sie "Email new password" nutzen

In situations that are complicated by the user forgetting their account name or losing access to their email, additional measures may need to be taken by an administrator or system administrator.

Spezial:Anmelden nutzen
Sofern der Benutzername für des Kontos bekannt ist, kann man das "Neues Passwort senden"-Werkzeug auf der Seite Spezial:Anmelden nutzen. Um dieses Feature zu benutzen, musst du die Spezial:Anmelden im betreffenden Wiki besuchen, deinen Benutzernamen in das Feld eintragen, und den "Neues Passwort per E-Mail zusenden" Knopf drücken. Dann wird ein zufälliges, temporäres Passwort mit Anleitung per Mail an die E-Mail Adresse des Accountes gesendet.

Den Benutzername der betroffen E-Mail Adresse finden
If you know the email address for a user, but not their username, query the  table of the MediaWiki database to find the associated username. For example, to find the username for user@example.com, run the following query:

Das changePassword.php Skript benutzen
The maintenance script allows system administrators to change the password for an account from the command line of the server that MediaWiki is installed on. For complete usage details, review. If you are already familiar with maintenance scripts, then simply run the following command:

Spezial:PasswortZurücksetzen benutzen
Special:PasswordReset allows accounts with the 'passwordreset' permission to reset account passwords for the local installation of MediaWiki.

Anleitung:


 * 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.

Direkte Änderung in der Datenbank
To reset a password you can change the value of  field, in   table. However, it's generally far easier and safer to use "Email new password" or 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.

Für MediaWiki Version 1.13 und höher
You should choose the salted or unsalted method depending on the value of  in.


 * MySQL unsalted:


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


 * PostgreSQL unsalted:


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

Für MediaWiki Version 1.12 oder niedriger
MySQL:

PostgreSQL:

Anmerkungen
Das Neustarten von Apache und das leeren des Browser Caches könnte auch helfen.

You can copy the known password from one account to another: (Tested on Mediawiki 1.15, MySQL)

SELECT user_id, user_name, user_password FROM user; +-+---+--+ +-+---+--+ +-+---+--+
 * user_id | user_name | user_password                               |
 * 1 | User1    | :B:1d8f41af:1ba8866d9c43d30b7bc037db03a067de |
 * 2 | User2    | :B:ee53710f:4291b056175513a5602d48eaeb79705c |

UPDATE user SET user_password = ':B:ee53710f:4291b056175513a5602d48eaeb79705c' WHERE user_id = 1;