Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPHulk Blocked "root" Account

Discussion in 'Security' started by MHD_MUS, Jul 7, 2015.

  1. MHD_MUS

    MHD_MUS Member

    Jun 29, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I was already logged in as root in WHM when, for some reason, I saw the "Invalid login" interrupting screen.
    (maybe my IP address got reset, maybe network connection dropped... etc.)
    Then I tried to login again, but the "Login Invalid" persists, so I knew that root was blocked. Obviously, also SSH root was blocked.

    So, I manually accessed the machine, mounted the partition, chrooted the WHM directory, and disabled cPHulk using:
    And also removed the touch file so that it keeps disabled after reboot:
    rm enabled
    Then rebooted the server and now I am able to login as root in WHM as well as SSH.

    However, the problem now is that I cannot unblock root and re-enable cPHulk.
    Knowing that I am not sure that whitelisting my IP address will unblock the root account, I tried
    command, but I see
    error, and if I enabled cPHulk I will be locked out again!

    Hence, the current situation is that the root account is currently locked, cPHulk is disabled, and I have root WHM and SSH access.
    Thus, I'll be more than grateful if you can guide me how to unlock root account without unlocking other locked accounts (if possible), so that I can re-enable cPHulk and login to WHM as root and whitelist my IP address.

    Otherwise, if this cannot be done, your advice about an alternative way to fix this situation will be more than thankful.

    Kind regards.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can enable cPHulk via the command line and it won't restart the SSHd service or log you out. Enable cPHulk, and then add your IP address to the whitelist so that blocks to the "root" account won't lock you out.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice