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!

Accessing account with 2FA enabled if phone is lost

Discussion in 'Security' started by menathor, Apr 5, 2016.

  1. menathor

    menathor Registered

    Apr 5, 2016
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Hi guys,

    I'd like to enable 2FA on my WHM / cpanel on my VPS, however I can't find any information in the documentation or forums re: what would happen if my phone was lost or stolen. Most sites (eg. Google, Amazon, Microsoft etc) which allow enabling 2FA provide a backup option such as a code or SMS in the event the device is lost.

    Is there any similar option with cpanel / WHM's 2FA, or would I be unable to access my account if something happens to my phone?

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You could take a screenshot of your QR code or print the secret key that's provided when initially enabling two-factor authentication on an account. Or, you could consider implementing an external authentication solution. EX:

    Guide to External Authentication - OpenID Connect - Software Development Kit - cPanel Documentation

    Examples that demonstrate other methods (e.g. Google, Facebook, Amazon) are available in the "/usr/local/cpanel/Cpanel/Security/Authn/Provider/" directory with the .sample file extension. For example, if you copy "" to "", Google becomes an available option and a link to further instructions from Google is displayed:

    OpenID Connect

    Note that cPanel version 56 will display these providers by default.

    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