Knowledgebase

How do I reset a user’s password in WordPress?

In WordPress, there are numerous ways to reset yours, or another users password. Here’s a few different ways you can do that:

Reset a user password through the WordPress admin

  1. In the Admin Panel menu, go to Users
  2. Click on the user you’d like to edit
  3. Scroll down to the New Password section and click on Generate Password. WordPress will generate a new password that you can use, or you can create your own. WordPress will indicate how strong your password is. And we definitely recommend strong passwords.
  4. Click the Update User button to save

Reset a user password through “lost password” feature

If you know the username or email associated with the user, you can use the Lost Password feature in WordPress:

  1. Browse to the WordPress log in page, something like http://yoursite.com/wp-login.php
  2. Click on the ‘Lost your password?’ link
  3. You’ll be prompted to enter either the username or email address associated with the account
  4. A message will be sent to the users email with a link to reset the password.
  5. The link will go to a page with a pre-generated password. Use it or enter your own. Again, make it strong!
  6. Save your new strong password somewhere safe. We like tools like 1Password.

Reset a password through phpMyAdmin

If you don’t have access to the WordPress admin, or know the users email or username, you can also reset a password through the database with phpMyAdmin. Note: this is an advanced technique. Editing a database can lead to massive data loss so be sure to take a backup and store it somewhere safe!

Log into your database though phpMyAdmin.

Most hosts will have it available in the hosting account:

phpmyadmin in cpanel
Finding phpMyAdmin in cPanel

Find and edit the wp_users table

Screenshot of WordPress table list

Edit the user and find user_pass

  1. Edit the user by clicking on edit (it may be an icon of a pencil). Look for the user_pass row.
  2. There will be a long string of letters and numbers. Select all the text and delete it.
  3. Enter in the new password. In this case I’ve entered hopscotchcherry. This password is definitely not strong enough, make yours stronger.
  4. Then finally, from the dropdown choose MD5. This is an important step to secure the password in the database. Once it’s saved the password will be ‘hashed’ into something like this: a197bf2f227b729eac0a2b9a826ab1eb

Screenshot of WordPress user table updating password

 

See if Cinch is right for you.

Ask us anything. Seriously. Like, what is the air speed velocity of an unladen swallow?

Start a chat right now

Or go ahead and Sign up now