Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 9:19 am (All times are UTC )

 




Post new topic Reply to topic  [ 4 posts ] 
Author Message
Posted: Wed Dec 10, 2008 1:10 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Thu Aug 18, 2005 12:28 pm
Posts: 2210
Location: viewforum.php?f=19
See on wiki http://docs.joomla.org/How_do_you_recover_your_admin_password%3F

It's don't work for me Good SQL request should be :
Code:
INSERT INTO `jos_users` (`id`, `name`, `username`, `email`, `password`, `usertype`, `block`, `sendEmail`, `gid`, `registerDate`, `lastvisitDate`)
        VALUES (null, 'Administrator2', 'admin2', 'votre-email@domaine.com', '21232f297a57a5a743894a0e4a801fc3', 'Super Administrator', 0, 1, 25, '0000-00-00 00:00:00', '0000-00-00 00:00:00');
INSERT INTO `jos_core_acl_aro` VALUES (NULL, 'users', LAST_INSERT_ID(), 0, 'Administrator', 0);
INSERT INTO `jos_core_acl_groups_aro_map` VALUES (25, '', LAST_INSERT_ID());


It's work for latest Joomla! 1.0 and 1.5

Or
Code:
INSERT INTO `jos_users` (`id`, `name`, `username`, `email`, `password`, `usertype`, `block`, `sendEmail`, `gid`, `registerDate`, `lastvisitDate`)
        VALUES (null, 'Administrator2', 'admin2', 'votre-email@domaine.com', '296e21e19e0a53e6eacc64bc8cf6e134:w15sQL14fsn2V8MFpPmWZTz9LVgmZIaj', 'Super Administrator', 0, 1, 25, '0000-00-00 00:00:00', '0000-00-00 00:00:00');
INSERT INTO `jos_core_acl_aro` VALUES (NULL, 'users', LAST_INSERT_ID(), 0, 'Administrator', 0);
INSERT INTO `jos_core_acl_groups_aro_map` VALUES (25, '', LAST_INSERT_ID());

for Joomla! 1.5 (not tested on Joomla! 1.0)

Thank to Ouly.

_________________
Jérôme Bussière - french forum moderator

Vous êtes sur un forum d'entre aide : aidez les autres, les autres vous aideront !
Aidez-les à vous aidez en utilisant le fichier jtspost_fr.php : viewtopic.php?t=272866 !


Top
  E-mail  
 
Posted: Wed Dec 10, 2008 4:04 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Apr 06, 2008 4:44 am
Posts: 3218
Location: Seattle, WA, USA
Hi Jerome. Thanks for the suggestion. I'm testing them out. What are the matching passwords in your examples above? Thanks. Mark

_________________
Mark Dexter
"Well...how did I get here?"


Top
  E-mail  
 
Posted: Wed Dec 10, 2008 4:45 pm 
User avatar
Joomla! Hero
Joomla! Hero
Offline

Joined: Thu Aug 18, 2005 12:28 pm
Posts: 2210
Location: viewforum.php?f=19
Passwords is admin for each of this examples.

In the first case it's seem to be the old encryption before the 1.0.13, but works in a 1.0.15

If you create an new administrator with the password admin in the Joomla! console, result will not be 296e21e19e0a53e6eacc64bc8cf6e134:w15sQL14fsn2V8MFpPmWZTz9LVgmZIaj

I don't now exactly how Joomla! encrypt password.

_________________
Jérôme Bussière - french forum moderator

Vous êtes sur un forum d'entre aide : aidez les autres, les autres vous aideront !
Aidez-les à vous aidez en utilisant le fichier jtspost_fr.php : viewtopic.php?t=272866 !


Top
  E-mail  
 
Posted: Wed Dec 10, 2008 6:29 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sun Apr 06, 2008 4:44 am
Posts: 3218
Location: Seattle, WA, USA
Hi Jerome. Thanks for the information. I've updated the Wiki article with the new query. Mark

_________________
Mark Dexter
"Well...how did I get here?"


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group