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!

SOLVED I cant login to WHM due to Two Factor Authentication

Discussion in 'Security' started by Sujoy Dhar, Dec 7, 2016.

  1. Sujoy Dhar

    Sujoy Dhar Active Member

    Joined:
    Jul 24, 2016
    Messages:
    30
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    It was running well and suddenly today I cant access the WHM and step two verification is mentioning as Wrong.

    I am also not having the ssh enabled in my server.

    Now how can I login to WHM please help me
     
  2. RadWebHosting

    RadWebHosting Active Member

    Joined:
    May 6, 2016
    Messages:
    30
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Dallas, Texas
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Are you managing your own servers or does your provider install WHM for you?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can disable two-factor authentication via the command line through WHM API 1:

    Code:
    whmapi1 twofactorauth_disable_policy
    However, if you don't have SSH access to the server, you'd have to ask your data center or server provider to run this command on your behalf, or to help you with getting SSH or console access to run the command yourself.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Sujoy Dhar likes this.
Loading...

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