I need to know how to unlock a user who has reached the maximum password attempt limit. UI error is: password limit has been reached for a Chef Server user
You already tried chef-server-ctl password USER to reset, and the command executed. But the user is still unable to log in since the account is locked.
You do not receive password reset email because email on the Chef Server is either not set up, or doesn't work.
If you don't have mail set up, then the email goes into the queue for your system mail application, e.g. postfix
Run the following command to get the email containing the account reset link:
find /var/spool/ -type f -mtime -1 | xargs ls -lhtr
And then look at the file in question:
If you look in the spool as above you will see the password resets previously attempted and can then use the link in there.