Skip to Content

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.

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 need to use correct db_name and dbprefix from ez.conf (/usr/local/etc/ezlogin/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. To Unsuspend a user from Ezeelogin Software GUI go to Users->Edit->Active

Note :

To unsuspend the specified user from ezsh shell, 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'"