• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

A cPanel Tech

The Diaries of a Linux Server Administrator

  • Home
  • About
  • Privacy
You are here: Home / cPanel / cPanel Disable two factor authentication

cPanel Disable two factor authentication

December 21, 2018 By siteadmin Leave a Comment

cPanel provides two factor authentication so that it will send a text message to your phone.  In some countries, you may not receive it properly and on time.

It prevents you from accessing the WHM area. To disable it via command line, ssh to the server and run this command, after logging into the SSH as root.

whmapi1 twofactorauth_disable_policy

This turns two-factor auth off.  However, it does not disable the current two-factor setups.  So if you want to bring it back on, do the following steps, and you will be good to go!

  1. Log into WHM
  2. Click on Two-Factor Authentication
  3. Click on “Manage My Account”
  4. Click on Remove Two-factor Authentication

This will remove the current two-factor code from the root user, allowing you to set up a new one.

 

 

Filed Under: cPanel, Tutorials

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Copyright 2018 CPanelTech