Page 1 of 1

Administrator Login How Do you retrieve a lost one????

Posted: Sat Feb 23, 2008 11:59 pm
by dridi
Hello,

I just inherited our team website, I never heard of Joomla. the person who set it up lost the Admin User Name and Password.

I load the administrator site YOU Would think there is a button reset password or email password. Nothing.

How do you use this Joomla Admin,

Thanks for your help >:(

Re: Administrator Login How Do you retrieve a lost one????

Posted: Sun Feb 24, 2008 1:07 am
by SpencerDavis
There is no way within Joomla to recover the Super Administrator password. You need to reset the password in the MySQL database. Find the user that you want to change the password for and update it to the MD5 hash of the password that you want.

Re: Administrator Login How Do you retrieve a lost one????

Posted: Mon Feb 25, 2008 12:40 pm
by igrimpe
SpencerDavis wrote:There is no way within Joomla to recover the Super Administrator password.
I think there is an easy way to recover the admin password:
You don't need to go to the backend, simply go to the frontend and use the "forget password" button. You need to know the email that was entered when the admin was created of course. And you need to be able to access it of course ;)
Otherwise you are back to the MySQL solution

Re: Administrator Login How Do you retrieve a lost one????

Posted: Sat Mar 08, 2008 4:14 am
by cahallyburton
I reset my Joomla password through the MySQL Database per the instructions in this thread. When I go to my site now, there's a Joomla logo with a message that the site is temporarily unavailable. How can I correct this?

Re: Administrator Login How Do you retrieve a lost one????

Posted: Sat Mar 08, 2008 8:21 am
by igrimpe
Create a valid J password:

Code: Select all

<?php
	/*
	Takes two parameters (password + salt) and creates a J1.5 compatible password
	entry for it.
	call with: ""scriptname.php?password=yourpassword&salt=whateveryoulike
	output is a string you can paste into the password field of #_users
	license: are you kidding? Do what you like with it, just don't start whining if it
	does not work
	*/
	$plain_password = '';
	if (($plain_password = $_GET['password']) == '') die("Specify password!");
	$plain_salt = '';
	if (($plain_salt = $_GET['salt']) == '') die("Specify salt!");
	$md5_salt = md5($plain_salt);
	$md5_password = md5($plain_password . $md5_salt);
	echo $md5_password . ":" . $md5_salt;
?>
[/quote]
Copy into any text file, save as makepassword.php, upload to a webserver and execute.

[quote]
I reset my Joomla password through the MySQL Database per the instructions in this thread
[/quote]
go into the root of your website, find configuration.php and look for:
[code]
var $offline = '1';
change to '0'
Though you should be able to log in into the backend! goto your domain and append /administrator/index.php. Now you should be in the backend and can change offline mode there - together with all other stuff

Re: Administrator Login How Do you retrieve a lost one????

Posted: Sat Mar 08, 2008 4:01 pm
by cahallyburton
So I should paste this code into the configuration.php file in my www directory, correct?

Re: Administrator Login How Do you retrieve a lost one????

Posted: Sat Mar 08, 2008 4:28 pm
by igrimpe
No, wrong.
Make a .php file from it (makepassword.php) if you need to create J! 1.5 passwords without using J!.

Re: Administrator Login How Do you retrieve a lost one????

Posted: Sun Mar 09, 2008 12:46 am
by cahallyburton
Please bear with me...I'm new at this and I apologize.

I have created the php file. Would you please look at the following code and tell me where my mistakes are? Also, how do I make this file executable?

Thanks so much for your help.

Code: Select all

<?php
/*
Takes two parameters (password + salt) and creates a J1.5 compatible password
entry for it.
call with: ""scriptname.php?password=yourpassword&salt=whateveryoulike
output is a string you can paste into the password field of #_users
license: are you kidding? Do what you like with it, just don't start whining if it
does not work
*/
$plain_password = '0';
if (($plain_password = $_GET['password']) == '') die("Specify password!");
$plain_salt = '0';
if (($plain_salt = $_GET['salt']) == '') die("Specify salt!");
$md5_salt = md5($plain_salt);
$md5_password = md5($plain_password . $md5_salt);
echo $md5_password . ":" . $md5_salt;
?>
[/quote]
var $offline = '0';



Re: Administrator Login How Do you retrieve a lost one????

Posted: Wed May 28, 2008 7:28 am
by EddieM
Hi,
This issue has been addressed in another thread => http://forum.joomla.org/viewtopic.php?t=10985. If you have access to the database, this method is simple & works - I had to do it myself today.

Eddie

Re: Administrator Login How Do you retrieve a lost one????

Posted: Wed May 28, 2008 10:50 am
by humvee
It is certainly not necessary to run an external program or even install such to the Web server there are far easier and safer routes to take.

http://forum.joomla.org/viewtopic.php?f ... 0#p1308601

Andy

Re: Administrator Login How Do you retrieve a lost one????

Posted: Tue Jan 13, 2009 7:40 pm
by applaudmedia
This well written tutorial will get you in:
http://blog.mcdermotts.org.uk/2007/10/t ... in-joomla/

Re: Administrator Login How Do you retrieve a lost one????

Posted: Mon Mar 23, 2009 3:34 pm
by Stringkiller
Well I don't all this SQL and PHP - I looked up in Firefox, Tools/Options/security
and saved passwords -
This was for Local - have not gone further YET

Re: Administrator Login How Do you retrieve a lost one????

Posted: Mon May 18, 2009 9:01 pm
by LukeDouglas
Stringkiller wrote:Well I don't all this SQL and PHP - I looked up in Firefox, Tools/Options/security
and saved passwords -
This was for Local - have not gone further YET
The reason why it's not easy to change the admin password is obvious. You want as secure a website as you can have. The SQL table reset is easily done IF you know the control panel username and password. If you don't, then you'll need to contact someone who has that access to reset the Joomla User record. If you have difficulty with the MD5 hash creation, just go to one of the online services to make one such as http://www.xs4all.nl/~jlpoutre/BoT/Java ... shing.html. Remember, it does create the opportunity for someone to gain access to your password but if they don't know the username or website, it's useless to them.

Re: Administrator Login How Do you retrieve a lost one????

Posted: Thu Dec 10, 2009 5:52 am
by desaivasudha
i am facing a problem..
in my joomla website when a user requests to recover password and he enters
the valid e-mail id... the mail is not actually been sent...
how to over come this..
please help me out

Re: Administrator Login How Do you retrieve a lost one????

Posted: Wed Jan 20, 2010 8:21 pm
by PietruS
When I set up Joomla I removed the login module. Is there a way to get to the "retrieve lost password" form?

I tired www.website.com/login and that does not work for instance.

Re: Administrator Login How Do you retrieve a lost one????

Posted: Wed Jan 20, 2010 8:35 pm
by iikozen
PietruS wrote:When I set up Joomla I removed the login module. Is there a way to get to the "retrieve lost password" form?

I tired http://www.website.com/login and that does not work for instance.
Try http://www.website.com/index.php/component/user/reset.html ( w/ SEO Settings)

or

http://www.website.com/index.php?option=com_user&view=reset (without SEO Settings)

:)