Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Reset admin password

Reset admin password 1 year 6 months ago #91701

  • damien
  • damien's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 1
Hi,

Since 2.0, there is no /admin/install directory and so no resetadminpwd.php, so, how to reset the admin password now?

Here is the wiki solution wich doesn't work with 2.0+ installs
The administrator has disabled public write access.

Re: Reset admin password 1 year 6 months ago #91707

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1067
  • Thank you received: 235
  • Karma: 74
Hi,
You can do it easily if you are abble to manage SQL queries...

I attached a dump with the `lime_users` original table
User:admin
Password: password

File Attachment:

File Name: reset_admin_v2.txt
File Size: 2 KB


Note:the version is Version 2.00+ Build 121017..It's not the last build but I suppose that's `lime_users` table structure is the same. In case of doubt make a dump of this table or of the entire database.
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.
The following user(s) said Thank You: damien

Re: Reset admin password 1 year 6 months ago #91708

  • damien
  • damien's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 1
Thanks, I just erased my install and re-installed it so I can't test your solution but thanks.
The administrator has disabled public write access.

Re: Reset admin password 1 year 6 months ago #92571

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2610
  • Thank you received: 302
  • Karma: 112
I have a similar case:
Local installation that can't send emails, haven't configured smtp.

I think actually that I remember my login/pw combination, but somehow the login screen always shows the message:

Incorrect username and/or password!

You have exceeded the number of maximum login attempts. Please wait 10 minutes before trying again.

And the 10 minutes are over quite a bit.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Re: Reset admin password 1 year 6 months ago #92578

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1067
  • Thank you received: 235
  • Karma: 74
10 minutes is pretty good delay for having a beer ;) but in case you need less time you may look at:

application/config/config-defaults.php
(around L 60)
// If the user enters password incorrectly
$config['maxLoginAttempt']    =   3;                // Lock them out after 3 attempts
$config['timeOutTime']        =   60 * 10;          // Lock them out for 10 minutes.
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Last Edit: 1 year 6 months ago by Ben_V. Reason: _
The administrator has disabled public write access.

Re: Reset admin password 6 months 1 day ago #105327

  • ElJuez
  • ElJuez's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi Ben

I saw lot of post from you searching how to reset the password for admin.
But you are always sending us to the same file giving the admin password "password" default one.

But how to change the password with the one we want to update ? Or will the system ask us a for new password as it is the default one ?

If not, do you already have a script allowing to generate a new string for the password with the one we want ?

Thanks
The administrator has disabled public write access.

Re: Reset admin password 6 months 1 day ago #105330

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1067
  • Thank you received: 235
  • Karma: 74
Hi,
those indications is a recovery process to access the admin if you can't log in.

The normal way is to edit your (admin) account editing your password:
Go to "manage users" tab in the main menu

passw.gif
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Last Edit: 6 months 1 day ago by Ben_V.
The administrator has disabled public write access.

Re: Reset admin password 6 months 1 day ago #105332

  • ElJuez
  • ElJuez's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Thanks Ben

The thing is that I was not seeing the admin account from that page. I do not understand why, it was not listed.

I am reinstalling the tool.

I'll infor you after if I can see my user into.
The administrator has disabled public write access.

Re: Reset admin password 6 months 1 day ago #105349

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 293
  • Karma: 248
You need to have sufficient rights to be able to edit user settings/passwords.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Reset admin password 5 months 1 week ago #106218

  • Stuart
  • Stuart's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
This resets the password to 'password' for limesurvey 2.05. You will need to delete admin first.
INSERT INTO `lime_users` VALUES(1, 'admin', 0x35653838343839386461323830343731353164306535366638646336323932373733363033643064366161626264643632613131656637323164313534326438, 'Administrator', 0, 'en', 'youremail@address.com', 'default', 'default', 'default', '', 1,'2014-03-12', '2014-03-12');
Last Edit: 5 months 1 week ago by Stuart.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.383 seconds
Donation Image