U
U
unclechu2014-08-28 17:43:27
PHP
unclechu, 2014-08-28 17:43:27

How to reset Joomla 2.5 super admin password?

Nothing googled helped. Login fails.
For starters, it's just an MD5 hash:

UPDATE `jos_users` SET password=MD5('admin') WHERE username = 'admin'

After MD5 with salt (similar to neighboring hashes):
UPDATE `jos_users` SET password=CONCAT(MD5(CONCAT('admin', 'qwerty')),':qwerty') WHERE username = 'admin'

And judging by one unresolved issue: How to encrypt passwords in Joomla 2.5? - it can be assumed that encryption is more cunning. Just what is it?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexey Nikolaev, 2014-08-28
@Heian

Somehow I restored it. I went through the files, collected all the encryption functions and called them in a separate file for a new password. In response, an encrypted hash came, which I inserted in place of the old one. Due to the prescription of the case, I don’t remember at all what these functions were and where they were located, but this technique is working, you can try.
However, to avoid messing around with this - if you have access to phpmyadmin, you can register a new user, and simply copy its hash into the superadmin password field.

A
Alexey Voronov, 2014-08-28
@Alcorec

Read here .

D
Dmitry, 2014-08-28
@zmeyjr

docs.joomla.org/How_do_you_recover_or_reset_your_a...

U
unclechu, 2014-08-28
@unclechu

I have suspicions about the ambiguity of the problem. None of the methods help. Is it normal that I am being asked to authorize via HTTP-BA (with the text: "Subdomain authorization"), and not via the web interface?

D
dolgicky, 2015-12-10
@dolgicky

I make it easier and in any Joomle. I register a new user, then in phpMyAdmin I copy his password and paste it in place of the forgotten one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question