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…

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

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

Thank you very much! :slight_smile: