Reset a forgotten password
This page shows how to get back in when you have forgotten your password. To change a password you still know, see Change your password.
LimeSurvey Cloud has two separate logins, each with its own password:
- Your LimeSurvey account at account.limesurvey.org: your plan, your invoices and the settings of your survey site. Only the site administrator, the administrator that was created with your survey site, has it.
- Your survey site, for example
yoursite.limesurvey.net: where you build surveys. The site administrator logs in with the admin password of the survey site. Colleagues log in with their own users.
When you sign up, both use the same user name and password. After that they are separate: changing one password doesn't change the other.
Reset the admin password of your survey site
- Log in at account.limesurvey.org.
- On Account details, under Your survey site, click Reset next to Survey site admin password.
- Confirm with the password of your LimeSurvey account. The page shows a new random password.
- Wait about two minutes, then log in to your survey site with the new password. Change it to a password of your own afterwards.
See Manage your account and survey site.
Reset the password of your LimeSurvey account
- On the login page of account.limesurvey.org, use the link to reset your password.
- Wait a few minutes, then check your inbox and your spam folder.
- No email? The reset only goes to the email address the account is registered with. Try every address you might have used: work, private, older ones. If the account was set up for your team, ask colleagues whether one of them created it, or whether it uses a shared address.
If your account was archived, log in at account.limesurvey.org with your user name and password: the account is restored when you log in.
Reset the password of another administrator
Colleagues who log in to your survey site with their own user can't log in to account.limesurvey.org. They can click Forgot your password? on the login page of the survey site, or ask an administrator with the permission to manage administrators to set a new password. See Manage users.
Still locked out?
Contact support and include the address of your survey site, for example yoursite.limesurvey.net, and every email address you have tried. With the site address, support can see which email address the account is registered with. See Get support.
If email works on your installation and you know the email address of your user, click Forgot your password? on the login page and enter your user name and email address. A superadministrator can also set a new password for any administrator in Manage administrators (see Manage users). If you can't log in at all, use one of the ways below. LimeSurvey support can't reset passwords of a self-hosted installation, because the users are stored on your server.
Using the command line
- Log in to your server with a command line (for example with SSH).
- Make sure you can run PHP from the command line (see the PHP documentation).
- Go to your LimeSurvey directory.
- Run this command:
php application/commands/console.php resetpassword USERNAME NEWPASSWORD
USERNAME is the name of an existing administrator account, for example admin. If the php command is not found, use its full path, for example /usr/bin/php. The new password is saved in your shell history, so change it in LimeSurvey after you have logged in.
With only FTP access
Use the third-party controller ResetPasswordController. Remove the file and its settings from config.php again once you have reset the password.
Directly in the database
If you have direct access to the LimeSurvey database, you can set a new password there. LimeSurvey accepts a password that is stored as an SHA-256 hash, and replaces it with a more secure hash the next time the user logs in.
For example, in MySQL or MariaDB, this sets the password of the user admin to newpassword:
UPDATE lime_users SET password = SHA2('newpassword', 256) WHERE users_name = 'admin';
In PostgreSQL, use encode(sha256('newpassword'), 'hex') instead of SHA2('newpassword', 256). If your tables use a different prefix than lime_, change the table name accordingly. Log in and change the password right away.