Disable WHM Two-Factor Authentication via Command Line

In the event you lose your device or two-factor just isn’t working for whatever reason, you have the ability to disable it by logging into your server via command line as root.

ssh root@example.com

Then run the following to disable two-factor authentication…

whmapi1 twofactorauth_disable_policy

For further options you can review the official documentation… WHM API 1 Functions – twofactorauth_disable_policy

Leave a Reply

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