Content
You are here:
Admin user account locked out
Added by Charles Marcus over 4 years ago
Fresh Debian Buster installation, have a number of users set up, but somehow, my primary Admin account is locked out. I have tried changing the password, appears to be successful, but I keep getting the error that either the username or password is wrong or the account is locked, and will unlock after some period of time.
What is the default lockout period? I waited overnight, and just tried to login again, and it is still saying the same thing.
There must be a way to fix this on the command line (I have SSH root access), but I can't seem to find the way?
Would appreciate some help...
Replies (6)
Hello,
Are you able to log in as another user? Have you tried in another browser just to make sure it is really an issue with locking and not some browser session issue?
Never mind, I figured it out...
I was trying to log in with the email address, but the default admin username is just admin, not the full email address... duh!
That said - is there really no way to handle problems like this from the command line?
Hi Charles,
I added an entry to our FAQ since this appears to be a common problem: https://github.com/opf/openproject/blob/release/10.6/docs/installation-and-operations/operation/faq/README.md#i-lost-access-to-my-admin-account-how-to-i-reset-my-password
Cheers
Oliver
Excellent, thanks! To clarify - does setting the user to 'active' fix the problem if they were locked out from too many failed password attempts?
Hi Charles,
no this only sets the user status (in case you accidentally set it to invited or blocked). I updated the FAQ entry to also reset the
failed_login_count
value.Best
Oliver
Awesome... thanks very much!