Passwort vergessen

  • [COLOR=#333333][FONT=verdana]Ich hatte einen Zusammenbruch meines Systems(PC). Kurz zuvor hatte ich eine Passwortverwaltung eingeführt und neue Passwörter erzeugt. Leider hatte ich diese noch nicht gesichert und noch kein neues Backup gezogen.[/FONT][/COLOR]
    [COLOR=#333333][FONT=verdana]Wenn ich nun auf meinen WP-Blogs Passwort vergessen bei der Anmeldung eingebe, passiert nichts. Das heißt ich bekomme keine e-mail von WP zum zurücksetzen des Passworts.[/FONT][/COLOR]
    [COLOR=#333333][FONT=verdana]Was kann ich tun?
    [/FONT][/COLOR]Natürlich habe ich auch im Spam nachgeschaut.

    [COLOR=#333333][FONT=verdana]Gruß[/FONT][/COLOR]
    [COLOR=#333333][FONT=verdana]Dieter[/FONT][/COLOR]

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Hallo Dieter,

    wenn du ein Backup hast, kannst du das einspielen.

    Ich würde über PHPMyAdmin in der Datenbank das vorhandene (unbekannte) Passwort durch ein bekanntes ersetzen. Die Passwörter sind codiert. Da ich mehrere Blogs betreibe, funktioniert diese Methode.
    Weil du die E-Mail anspricht, auch diese kannst du in der Datenbank ändern.

  • Hallo Dieter,


    wenn du ein Backup hast, kannst du das einspielen.

    Ich würde über PHPMyAdmin in der Datenbank das vorhandene (unbekannte) Passwort durch ein bekanntes ersetzen. Die Passwörter sind codiert. Da ich mehrere Blogs betreibe, funktioniert diese Methode.
    Weil du die E-Mail anspricht, auch diese kannst du in der Datenbank ändern.

    Also das habe ich alles an Möglichkeiten gefunden. Leider in englisch und da ist mein tech. Wortschatz nicht sehr groß.
    Traue mich ehrlich gesagt an keine der Möglichkeiten ran. In die Datenbank komm ich nur über FTP, und da müsste ich die Schritte schon im Einzelnen
    genau wissen.Ach ja Backup wäre schön, hatte ich leider noch nicht gezogen.
    Gruß
    Dieter


    [COLOR=#000000][FONT=sans-serif]
    [/FONT][/COLOR]
    To Change Your Password

    [COLOR=#000000][FONT=sans-serif]To change your password in current versions:[/FONT][/COLOR]


      [*=left]In the Admin Panel menu, go to USERS
      [*=left]Click on your username in the list to edit
      [*=left]In the Edit User screen, scroll down to the New Password section and type in a new password in the two boxes provided. The strength box will show how good (strong) your password is.
      [*=left]Click the UPDATE PROFILE button our new password takes effect immediately.

    Through MySQL Command Line



      [*=left]Get an MD5 hash of your password.


      [*=left]Create file wp.txt with the new password in it (and *nothing* else)
      [*=left]md5sum wp.txt
      [*=left]rm wp.txt

  • [*=left]"mysql -u root -p" (log in to MySQL)
    [*=left]enter your mysql password
    [*=left]"use (name-of-database)" (select WordPress database)
    [*=left]"show tables;" (you're looking for a table name with "users" at the end)
    [*=left]"SELECT ID, user_login, user_pass FROM (name-of-table-you-found)" (this gives you an idea of what's going on inside)
    [*=left]"UPDATE (name-of-table-you-found) SET user_pass="(MD5-string-you-made)" WHERE ID = (id#-of-account-you-are-reseting-password-for)" (actually changes the password)
    [*=left]"SELECT ID, user_login, user_pass FROM (name-of-table-you-found)" (confirm that it was changed)
    [*=left](type Control-D, to exit mysql client)


  • [COLOR=#000000][FONT=sans-serif]Note if you have a recent version of MySQL (version 5.x?) you can have MySQL compute the MD5 hash for you.[/FONT][/COLOR]


      [*=left]Skip step 1. above.
      [*=left]Do the following for step 7. instead.


      [*=left]"UPDATE (name-of-table-you-found) SET user_pass = MD5('"(new-password)"') WHERE ID = (id#-of-account-you-are-reseting-password-for)" (actually changes the password)


  • [COLOR=#000000][FONT=sans-serif]Note that even if the passwords are salted, meaning they look like $P$BLDJMdyBwegaCLE0GeDiGtC/mqXLzB0, you can still replace the password with an MD5 hash, and Wordpress will let you log in.[/FONT][/COLOR]
    Through phpMyAdmin

    [COLOR=#000000][FONT=sans-serif]This article is for those who have phpMyAdmin access to their database. Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]Begin by logging into phpMyAdmin and click databases.[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif][Blockierte Grafik: http://codex.wordpress.org/images/thumb/9/92/changepw2.jpg/180px-changepw2.jpg][Blockierte Grafik: http://codex.wordpress.org/skins/common/images/magnify-clip.png]
    Image #2



      [*=left]A list of databases will appear. Click your WordPress database.

    [Blockierte Grafik: http://codex.wordpress.org/images/thumb/3/32/changepw3.jpg/180px-changepw3.jpg][Blockierte Grafik: http://codex.wordpress.org/skins/common/images/magnify-clip.png]
    Image #3



      [*=left]All the tables in your database will appear. If not, click Structure.
      [*=left]Look for wp_users.
      [*=left]Click on the icon for browse.
      [*=left]Locate your Username under user_login
      [*=left]Click edit

    [Blockierte Grafik: http://codex.wordpress.org/images/thumb/8/80/changepw6.jpg/180px-changepw6.jpg][Blockierte Grafik: http://codex.wordpress.org/skins/common/images/magnify-clip.png]
    Image #4



      [*=left]Your user_id will be shown, click on Edit
      [*=left]Next to the user_pass is a long list of numbers and letters.
      [*=left]Select and delete these and type in your new password.
      [*=left]Type in the password you want to use. Just type it in normally, but remember, it is case-sensitive.
      [*=left]In this example, the new password will be 'rabbitseatcarrots'
      [*=left]Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.

    [Blockierte Grafik: http://codex.wordpress.org/images/thumb/6/63/changepw7.jpg/180px-changepw7.jpg][Blockierte Grafik: http://codex.wordpress.org/skins/common/images/magnify-clip.png]
    Image #5



      [*=left]Check that your password is actually correct, and that MD5 is in the box.



      [*=left]Click the 'Go' button to the bottom right.
      [*=left]Test the new password on the login screen. If it doesn't work, check that you've followed these instructions exactly.

    [/FONT][/COLOR]

    Other Tutorials using phpMyAdmin



    Through FTP

    [COLOR=#000000][FONT=sans-serif]There is also an easy way to reset your password via FTP, if you're using the admin user.[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]1. Login to your site via FTP and download your active theme's functions.php file.[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]2. Edit the file and add this code to it, right at the beginning, after the first <?php:[/FONT][/COLOR]

    wp_set_password('password',1);[COLOR=#000000][FONT=sans-serif]Put in your own new password for the main admin user. The "1" is the user ID number in the wp_users table.[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]3. Upload the modified file back to your site.[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]4. After you then are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do.[/FONT][/COLOR]
    Using the Emergency Password Reset Script

    [COLOR=#000000][FONT=sans-serif]If the other solutions listed above won't work, then try the Emergency Password Reset Script. It is not a Plugin. It is a PHP script.[/FONT][/COLOR]
    Warnings


      [*=left]Requires you know the administrator username.
      [*=left]It updates the administrator password and sends an email to the administrator's email address.
      [*=left]If you don't receive the email, the password is still changed.
      [*=left]You do not need to be logged in to use it. If you could login, you wouldn't need the script.
      [*=left]Place this in the root of your WordPress installation. Do not upload this to your WordPress Plugins directory.
      [*=left]Delete the script when you are done for security reasons.


    Directions for use


      [*=left]Copy the emergency script from Emergency Password Script and put into a file called emergency.php in the root of your WordPress installation (the same directory that contains wp-config.php).
      [*=left]In your browser, open http://example.com/emergency.php.
      [*=left]As instructed, enter the administrator username (usually admin) and the new password, then click Update Options. A message is displayed noting the changed password. An email is sent to the blog administrator with the changed password information.
      [*=left]Delete emergency.php from your server when you are done. Do not leave it on your server as someone else could use it to change your password.


    Changing your password in older versions

    [COLOR=#000000][FONT=sans-serif]To change your password in WordPress v1.2:[/FONT][/COLOR]


      [*=left]In the Admin Panel, go to PROFILE
      [*=left]Scroll down to the bottom and type in the new password in the two boxes provided
      [*=left]Click the UPDATE PROFILE button


    Your new password takes effect immediately.[COLOR=#000000][FONT=sans-serif]To change your password in WordPress v1.5:[/FONT][/COLOR]


      [*=left]In the Admin Panel, go to USERS
      [*=left]From the "Your Profile" tab, scroll to the bottom and type in the new password in the two boxes provided.
      [*=left]Click the UPDATE PROFILE button


    Your new password takes effect immediately.[COLOR=#000000][FONT=sans-serif]To change your password in WordPress v2.0:[/FONT][/COLOR]


      [*=left]In the Admin Panel, go to USERS (or Profile)
      [*=left]From the "Your Profile" tab, scroll down to the Update Your Password section and type in a new password in the two boxes provided.
      [*=left]Click the UPDATE PROFILE button


    Your new password takes effect immediately.

  • Hallo Dieter,

    ich kenne einige Hoster hier in Deutschland, alle haben PHPMyAdmin zur Verfügung. Der direkte Weg über die Datenbank ist mir lieber, dort sehe ich, was ich mache. Frag doch mal deinen Hoster.

    Ansonsten würde ich den Weg hier

    gehen, wenn dir bekannt ist, welches Theme du benutzt und ob du über "admin" reingegangen bist.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!