Tutorial: The most popular ways to recover your lost Joomla password - JoomShaper

Tutorial: The most popular ways to recover your lost Joomla password

09 April 2018
Hits 17,014
5 min read
Tutorial: The most popular ways to recover your lost Joomla password

Let’s be honest. Forgetting password is a pretty common occurrence. Some users keep passwords in their default browser memory, after several months you can forget anything. Some of us don't even remember the password that they issued at the time of Joomla installation. This article describes how to reset the Joomla administrator password.

Normally, you can add, edit, and delete users and change passwords from the back-end User Manager. To do this, you must be logged in as a member of the Super Administrator group. But if for some reason, you cannot log into the backend, then that's a problem.

Fortunately, there are several methods to recover the Joomla administrator password.

Basic way

The easiest way would be to have your new password emailed to you from your Joomla front-end login screen. Yes, there is always a "Reset password" link. On form submission, the e-mail address bounded to that user's account will receive an email with one-time auto login link and instructions to set a new password. Even if you have not published the login module or login menu item, you can use the core link to get access to that area:

https://your-domain.com/index.php?option=com_users&view=login

The most popular ways to recover your lost Joomla password

However, when your email reset isn’t working, because for example:

  • An email address is not associated with the superuser account
  • Failure with email sending feature
  • You do not have the access to the mailbox of email address bounded to the user account

You may have to take additional steps to recover your lost password.

Software way

If the first method fails, and you have access via FTP, your log-in problem can be solved in less than 3 minutes. For this purpose, we will use a free tool named "A4 Admin S.O.S Password Recover". Here is its main features:

  • It works with all Joomla versions, even very old ones (1.0, 1.5, 2.5, 3.x)
  • The script finds first account of Super Admin, doesn't matter the User ID and saves the changed password to the DB according to Joomla settings
  • It checks if any plugin allowing log in are turned on in Joomla
  • It allows you to enable and allow these plugins if they are not turned on or available
  • The script allows to change the login and password for Super User or add a new one

Please follow the instructions below:

  1. Download the tool package from the project website all4web.pro
  2. Unzip
  3. Choose the file according to the Joomla version which you have there. If it's Joomla 3.8, use "RatujAdmina_3_3.zip"
  4. Unzip this package as well, to get a single PHP file
  5. Use FTP tool now: RatujAdmina_x.php file should be placed in the root directory of Joomla
  6. Then in browser address bar, put http://your_domain/RatujAdmina_3.php and press enter
  7. The script detects whether there is a Super Administrator account and depending on the result, you can:
    - change user ID and password (if the account exists)
    - create a new account (if not exist)
  8. After changing the password or adding a new Super User account or any other use, the script file MUST be DELETED from the server.

The most popular ways to recover your lost Joomla password

 * According to information from the developer, English/redesigned version of the tool should be ready in coming weeks.

MySQL way

Every piece of content in Joomla goes in and out from SQL database. The users' table in Joomla database maintains the password of users in an encrypted format. If the super admin user is still defined, you can change the password in the database to a known or example value. This requires that you have access to the MySQL server via PHPMyAdmin or any similar client ("adminer"). Yes, maybe this method looks scary, but it's also easy. It's very useful when you do not have access to FTP  (and Joomla files).

You need to know the username and password used for Joomla database (or from configuration.php file). In most cases, you can check those values in hosting panel. Don't worry, you can change the database password to a new one if it's the only way to get access to Joomla MySQL tables. Only don't forget to change it later inside the configuration.php file. Check the process below.

  1. In database manager, find table PREFIX_users 
  2. Click on the "Browse" button in the top toolbar, this will show all of the users that are set up for this site
  3. Find the user whose password you want to change and press the Edit icon for this row
  4. A form will display that allows you to edit the password field
  5. Select and delete default long string
  6. Copy and paste the value from below:
    d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199
  7. Save changes
  8. Now you can log in with this user and new temporary password ("secret").
  9. Then in Joomla User Manager, change the password as soon as possible to more secure

Validate the new password

After completing one of the above strategies, you should be able to use your new password to log into your Joomla site. Go to your /administrator login area, enter your admin username and new password and give it a shot. If you can login successfully, it means your new password is now officially active.

pepperstreet
pepperstreet
4 years ago
[b]Personal way[/b]:
Ask your local NSA representative. :p ;)
Paul Frankowski
Paul Frankowski
4 years ago
haha, indeed. :D
pepperstreet
pepperstreet
4 years ago
[b]Classic way[/b]:
Turn your keyboard upside down. See taped paper snippet! :o
Paul Frankowski
Paul Frankowski
4 years ago
Thanks for peace of IT humor. In my last job, ladies used stick notes on monitor stand. Maybe because they had to change password every month.
pepperstreet
pepperstreet
4 years ago
Hey, you've stolen my next comment and idea :p ;)
Pavel
Pavel
4 years ago
MySQL way is made even simpler. It is not necessary to enter d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199.
Just select MD5 and enter any password that you like.
[img]http://dl3.joxi.net/drive/2018/04/12/0008/0401/545169/69/65ef4d3c95.png[/img]
Paul Frankowski
Paul Frankowski
4 years ago
yes, I know this tip as well. But it was just a article not a book. hahah.
M
MF
3 years ago
It seems there is something more than just MD5. MD5 for "secret" is 5EBE2294ECD0E0F08EAB7690D2A6EE69 , which look different from what is in article.
Krishna Moorthi
Krishna Moorthi
4 years ago
In this blog article we will review a topic that has been previously reported ( Recover administrator password in Joomla ), the steps are basically the same but we will also indicate how to recover access in an extreme case in which the record has been completely removed from the table.

We recommend reading the aforementioned article as well as how to recover access through the phpMyAdmin provided by our Hosting, for our case the cPanel.
IH
Ila Huber
4 years ago
It’s great because I really don’t know about these techniques to recover Joomla password. . I will definitely remember these techniques.
B
Bart
4 years ago
Thanks ! always useful !:)
Marc Dechèvre
Marc Dechèvre
4 years ago
Hi !

I did not know "A4 Admin SOS Password Recover". Happy to discover new things :)

Otherwise, another super-easy way to log in as super user is the following little script :
https://github.com/cavo789/joomla_free/tree/master/src/log_admin
Just upload it, open it and you are logged in ! Then you can edit your users / create or modify a super user account etc
M
MF
3 years ago
gone from there.. Any mirror?
Paul Frankowski
Paul Frankowski
3 years ago
yes. https://filehost.net/cb594bfbb1536279

Sign up for our newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.