The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1

SUJET : Reset admin password

Reset admin password il y a 3 mois 3 semaines #91701

  • damien
  • Portrait de damien
  • Hors ligne
  • Fresh Lemon
  • Messages : 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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Reset admin password il y a 3 mois 3 semaines #91707

  • Ben_V
  • Portrait de Ben_V
  • Hors ligne
  • Platinum Lime
  • Messages : 733
  • Remerciements reçus 135
  • Karma: 43
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

Fichier attaché :

Nom du fichier : reset_admin_v2.txt
Taille du ficher : 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...
L'administrateur à désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: damien

Re: Reset admin password il y a 3 mois 3 semaines #91708

  • damien
  • Portrait de damien
  • Hors ligne
  • Fresh Lemon
  • Messages : 7
  • Karma: 1
Thanks, I just erased my install and re-installed it so I can't test your solution but thanks.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Reset admin password il y a 3 mois 1 semaine #92571

  • holch
  • Portrait de holch
  • Hors ligne
  • LimeSurvey Team
  • Messages : 1973
  • Remerciements reçus 156
  • Karma: 80
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!
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Reset admin password il y a 3 mois 6 jours #92578

  • Ben_V
  • Portrait de Ben_V
  • Hors ligne
  • Platinum Lime
  • Messages : 733
  • Remerciements reçus 135
  • Karma: 43
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...
Dernière édition: il y a 3 mois 6 jours par Ben_V. Raison: _
L'administrateur à désactivé l'accès en écriture pour le public.
  • Page :
  • 1
Modérateurs: DenisChenu, ITEd
Temps de génération de la page : 0.292 secondes
Donation Image