Oops! I reset my phone and no longer have two factor authentication

4 posts / 0 new
Last post
#1 Wed, 02/12/2014 - 11:57
Hal9000

Oops! I reset my phone and no longer have two factor authentication

I reset my phone and completely forgot about the authenticator app. So now I don't have access to my Webmin anymore... but of course I still am the root user of the system. So how can I get access back to webmin? Surely there is just a configuration file somewere that needs to be modified...

Wed, 02/12/2014 - 16:16
andreychek

You can manually turn off two-factor authentication by SSHing in as root, editing /etc/webmin/miniserv.users and remove the word "totp" or "authy" from the line for the root user. Then run "/etc/webmin/restart".

-Eric

Wed, 02/12/2014 - 16:16
andreychek

You can manually turn off two-factor authentication by SSHing in as root, editing /etc/webmin/miniserv.users and remove the word "totp" or "authy" from the line for the root user. Then run "/etc/webmin/restart".

-Eric

Thu, 02/13/2014 - 12:57
Hal9000

Thank you very much! :)

Topic locked