main admin user account suspended after entering incorrect security code

Main Admin user account suspended after entering incorrect security code. What should i do?

 The main ezadmin user would still be able to login into the web interface and unsuspend the user by editing the user. Note that this is possible only for the admin user and not for any other user.

To unsuspend the specified user run the following command

root@jumpserver:~php /usr/local/ezlogin/ez_queryrunner.php "update prefix_users set status=1, priv=0 where username='ezeelogin_username' "

The following is the alternative way for unsuspending the user 

1. Find database name and database prefix from /usr/local/etc/ezlogin/ez.conf in ezeelogin gateway server.

2. Login to mysql console

3. use db_name

4. Run this query to unsuspend all the Ezeelogin users

update dbprefix_users set status=1, priv=0;

you have to use correct db_name and dbprefix from ez.conf

To unsuspend only a single user, you may use the following query.

 update dbprefix_users set status=1, priv=0 where username='matt';

5 (1)
Article Rating (1 Votes)
Rate this article
    Attached Files
    There are no attachments for this article.