Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SPOSTARBUST_Widget_Class has a deprecated constructor in /home2/cptech/public_html/wp-content/plugins/spostarbust/index.php on line 386

Deprecated: Function create_function() is deprecated in /home2/cptech/public_html/wp-content/plugins/spostarbust/index.php on line 611

Notice: The called constructor method for WP_Widget in SPOSTARBUST_Widget_Class is deprecated since version 4.3.0! Use
__construct()
instead. in /home2/cptech/public_html/wp-includes/functions.php on line 4514
cPanel Disable two factor authentication | A cPanel Tech
cPanel Disable two factor authentication

cPanel Disable two factor authentication

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.

 

 

Leave a Reply

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

Close Menu