Technical Issues

[Solved] Turn off 2FA on WHM with Command Line

By 18th December 2016 No Comments

Today I reset my phone so couldn’t log into my WHM server as 2FA was enabled, annoying…

Not a problem as it can be disabled via command line.

How do you Turn off 2FA on WHM with Command Line you ask?

Run this command line to disable 2FA. You can then set it back up by logging into WHM if need be.

whmapi1 twofactorauth_disable_policy

Official documentation can be found here

Brendan

Author Brendan

More posts by Brendan

Leave a Reply