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.
    Related Articles RSS Feed
    Unable to ssh / An error occurred. Please contact administrator /
    Viewed 2206 times since Thu, Jun 15, 2017
    reCaptcha images not loading
    Viewed 2957 times since Wed, Jun 14, 2017
    Error opening terminal: xterm-256color.
    Viewed 663 times since Wed, Jul 31, 2019
    PHP extension ’mcrypt’ is required.
    Viewed 5156 times since Wed, Jun 14, 2017
    usernames already exists
    Viewed 495 times since Fri, Mar 15, 2019
    Unable to login into cpanel/whm with one click
    Viewed 5778 times since Wed, Jun 14, 2017
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 20589 times since Wed, Jun 14, 2017
    Could not download binary package. Please manually download it from downloads.ezeelogin.com
    Viewed 567 times since Thu, Apr 4, 2019
    How do i disable google 2 factor authentication or other 2factor mechanisms?
    Viewed 4615 times since Wed, Jun 14, 2017
    PHP Fatal error: The file /usr/local/sbin/backup_ezlogin.php was encoded by the ionCube Encoder for PHP. Ioncube Encoder Error during Ezeelogin upgrade
    Viewed 1104 times since Tue, Jul 24, 2018