How to reset a Moodle user's password

Category: Moodle

When a student or teacher forgets their password, as an administrator you can reset it from the Moodle interface itself. In this guide you will change a user’s password by setting a temporary one and forcing a change at the next sign-in, all from Moodle installed on your shared hosting (for example, under a subfolder such as /moodle/).

Before you start

  1. Sign in to your Moodle with an administrator account.
  2. Confirm the identity of the person requesting the change before touching their access.
  3. Have ready a strong temporary password that meets the site’s policy.
  4. Decide a secure channel to deliver the temporary password; never send it over insecure channels.

Steps

Find the account

  1. Go to Site administration → Users → Accounts → Browse list of users.
  2. Use Search or Filters to locate the person by First name / Last name or Email address.
  3. In the Actions column, open Edit for the correct user. Also check whether the profile shows Suspended account before changing access.

Moodle accounts list with one row and the Edit action highlighted

Change the password

  1. In Edit profile, under General, locate Username and the New password field.
  2. In New password, click Click to enter text and enter the strong temporary password.

New password field in the Moodle user profile

  1. Enable Force password change so the person sets a new one at sign-in.

Force password change checkbox enabled in Moodle

  1. Click Update profile.

After saving, Moodle returns to the accounts list and shows Changes saved. Verify that you are still working on the correct account.

Changes saved notification after updating the Moodle profile

Hand over access securely

  1. Share the temporary password only through a secure, direct channel with the person.
  2. Ask them to sign in and change the password immediately.
  3. If you prefer not to handle the password yourself, and the site email works, tell them to use the Forgotten your username or password? flow from the login page.

Final verification

  1. Confirm the person can sign in with the temporary password.
  2. Verify they are prompted to change the password if you enabled the forced change.
  3. Check that, after the change, the account stays active and with the correct role.

Common errors

  1. The password is rejected: adjust it so it meets the length and characters required by the site’s policy.
  2. You can’t see the password option: confirm you opened Edit profile for the right user and that you have admin permissions.
  3. The account still has no access: check whether it has Suspended account enabled, is unconfirmed, or uses an external authentication method that does not accept a local password.

Still need help?

If this guide didn’t solve your issue, our team can help you via ticket.