Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Login Attempt Failed and Reset Admin Password

Login Attempt Failed and Reset Admin Password 11 months 2 weeks ago #48118

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
I have tried to reset admin password on a drupal 7 site by following this tutorial:

www.ostraining.com/blog/drupal/reset-you...upal-admin-password/

But I have failed to login earlier. This message prompted after the change:

"Sorry, there have been more than 5 failed login attempts for this account. It is temporarily blocked. Try again later or request a new password."

I wonder how to resolve this in order to be able to try the new password. Please advise. Thanks.




Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 2 weeks ago #48178

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Are you getting this message when trying to log into the drupal admin or your hosting control panel?

You may have tried logging in too many times with the wrong password and your server is automatically blocking your IP address. Check with your hosting company and see if your IP address is blocked.

You can find your current ip address by going to whatismyip.com Give that address to your tech support and ask them to check it.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 2 weeks ago #48280

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
That's the message prompted when login to drupal admin. I managed to find the solution by clearing the flood table in drupal database. However, after changing the password by following the tutorial below still can not login to the admin area. This work in drupal 6, seems not really in drupal 7. Just wondering why..

www.ostraining.com/blog/drupal/reset-you...upal-admin-password/
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 2 weeks ago #48331

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Simon,

I don't know what to tell you. I wrote that tutorial even though it has Steve's name on it. I used Druapal 7 to create the screen shots. So I'm confident it works.

But it's not working for you, I don't know what could be going on. I am going to ask the rest of the team to take a look and see if I'm missing something.

Ed
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 2 weeks ago #48541

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
Thanks. Do look into it and see if the tutorial need to be updated. Meanwhile I found another solution which work perfectly.

drupal.org/node/1556488
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 2 weeks ago #48573

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Simon,

Glad you got it working. Thanks for sharing the solution, I'm sure others will be interested.

Interestingly enough, the script you found automates what the tutorial was saying to do. Much easier with the script though. I'll add this to our tutorials as well. It's a good alternate.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #48708

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
Hi Ed,

I tried to reset the password using both methods (your tutorial and the script given in drupal.org/node/1556488 )and I found the differences in the password generated:

For testing purpose, I reset the password to "abc"

1) By following your tutorial, the "abc" password generated was "900150983cd24fb0d6963......

2) Using the later method, the password generated was "$S$DfNKtkw8.YvTUgmbRToXcAL.VPdZWn7JKA......."


Obviously they are different. The first reset password failed to login to the admin area while the other works. So, perhaps you may want to try it out yourself again on the latest drupal 7.14 and see if there's any update done on the drupal 7 so far. Thanks.

Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #48738

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
THanks for the follow up. I will double check it today.

Ed
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #48763

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
You're correct. They changed the encryption method and added salts and stretching. No two encryption strings will be the same. The tutorial still works with D6, we'll need to write a new one for D7.

Thanks for the replies and the heads-up.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #48794

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
Thanks Ed,
Yes. your tutorial works perfectly with D6. Wish u will rewrite soon for D7. I believe there are still people wandering around to find an answer. Thanks.

Cheers ~
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #48802

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16797
  • Thank you received: 386
  • Karma: 56
Hi Simon,

Ed wrote a "Password Recovery for Drupal 7 Users" tutorial for you yesterday. Here's the direct link to it:
www.ostraining.com/blog/drupal/password-recovery-for-drupal-7/

Hope this helps!

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #48993

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
Thanks! I have tried it out on my hosting .. but seems got error message prompted:

"Fatal error: Call to undefined function user_load() in mydomain_path/password.php on line 3"

any idea?
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #49034

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
HI Simon,

I revised it again. This method seems to work without a problem. Try the tutorial one more time. I was able to use it and Nick and Steve checked it out.

www.ostraining.com/blog/drupal/password-recovery-for-drupal-7/

Let us know if the new one is working for you.

Ed
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #49104

  • SimonW
  • SimonW's Avatar
  • OFFLINE
  • OSTar
  • Posts: 127
  • Karma: 3
Hi Ed!

This worked perfectly for me. Great thanks!

Cheers~
Please become a member of OSTraining to reply to this post.

Login Attempt Failed and Reset Admin Password 11 months 1 week ago #49149

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
You're welcome. Thanks for bringing it to our attention!

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.