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
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:
- How To Reset Password?Best solution by Yahoo! Answers
- How to reset mysql password without old password?Best solution by Super User
- How to find my mac admin password?Best solution by Yahoo! Answers
- How to reset the password on Hotmail?Best solution by Yahoo! Answers
- Why can't I reset my Yahoo password?Best solution by answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.