How To Reset Joomla Admin Password?

how to reset Joomla admin password from the shell?

  • any idea how I can reset/change Joomla admin password from the linux command line? I have root access to the box. I don't think I can do it phpMyAdmid way. I don't know where the Joomla db is located and how I can connect to it. Update I found configuration.php that tells me the db name, host (local) and db prefix. But I don't know the password. I am receiving ERROR 1045 (28000): Access denied for user 'edumate_joomla'@'localhost' (using password: NO)

  • Answer:

    I usually do this type of thing by inserting a known password hash directly into whatever database you're using with joomla. Assuming you have ample privileges on the database, you should be able to do this through either the CLI or phpMyAdmin. I am not familiar with Joomla's database schema, but there should be something like a "users" table. Inside of that table, there should be a "password" column, containing password hashes, one for each user. You should be able to replace the password hash for your admin user with a known-good hash, either from a different Joomla install or from another Joomla user.

Radek at Server Fault Visit the source

Was this solution helpful to you?

Other answers

Here is a link to documentation on how to reset the password. You must have root access to MySQL: http://docs.joomla.org/How_you_reset_an_administrator_password%3F

Edward_178118

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.