Did you come here from joomlajunkie.com? This is our new home and we are in the process of moving so some links on joomlajunkie are already redirecting to here.

hide forever

Welcome to Prothemer - the new home for JoomlaJunkie.com

only the blog for now but there is much more coming soon...

How to recover your lost admin password in Joomla

At some point in your life you will do something silly and somehow not be able to login to your Joomla install with your admin account.  Your client will change something or you mistype a password….who knows, but it happens from time to time.

locked_joomla

Crap! How do I get in here again?

Typically the first thing people will do is dig into their database, snoop around jos_users for the admin account, and then see an entry for password that is not what they remember putting in. This is because the password is one way MD5 hash, so if your site or database gets compromised your password isn’t sitting there in plain site.

Enough with the yapping.  How do I fix it?

First things first.  Let’s not forget the obvious.  Joomla has a “lost password” function.  Access it via this url:

http://site.com/index.php?option=com_user&view=remind

This should work fine assuming you know the email address on the admin account.  Otherwise, keep reading.

I don’t know my admin email address, what do I do?

So far we have not had to play in the Joomla database.  If you do not know the email address used for admin, then you will have to dig into it now.

There are various ways to fiddle in your databasey bits.  Chances are you have some idea how to do it if you setup your Joomla site from scratch. If you used your webhost or Fantastico to setup Joomla shame on you.  Go setup a site from scratch.  It’s not hard and will provide you with the knowledge of how Joomla works.

Anyhow, back on topic.  You will most likely use phpmyadmin, Navicat, CocoaMySQL or some sort of database tool.  Once in there, you can change the email address to something you can retrieve the password from.

change email here

change email here

If all of the above fails, hope is not lost……yet.

The final way to handle this is doing a bit more manipulation in the database.  See the “password” field in jos_users?  Change it to default by inserting this hash.

21232f297a57a5a743894a0e4a801fc3

If you inserted this, your password is now admin.  Login to your admin area using your username and the password “admin“, (sans quotes), and IMMEDIATELY change the password.

Now you should be good to go.  If none of those options work, you really screwed the pooch somehow and you should consider rebuilding, or consulting with a professional.



  • How to make your email marketing fun, with a Joomla twist

    A many of you know, we loooove using Mailchimp for our newsletters! But…the integration with Joomla honestly left us with more to wish for.......

  • Pssst, I can see your unmentionables.

    phpinfo is a valuable command that can allow you to find errors and learn more about your server.  Don’t share it with everybody on......

  • New jQuery plugin targeting usability for password masking on forms

    Last month, Jakob Nielsen wrote a blog post titled "Stop Password Masking" - A usability related article on how password masking on web forms,......

  • Tags: , ,

    2 Comments

    Leave a Comment |  RSS feed for comments on this post.

    Trackbacks / Pingbacks

    Leave a Reply

    CommentLuv Enabled