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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Member

    Joined:
    Jul 24, 2016
    Messages:
    22
    Likes Received:
    5
    Trophy Points:
    3
    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 Member

    Joined:
    May 6, 2016
    Messages:
    19
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    Dallas, Texas
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Are you managing your own servers or does your provider install WHM for you?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    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.
     
    Sujoy Dhar likes this.
Loading...

Share This Page