I enabled TFA for the root account and logged out without generating a QR code. I now can't log back into webmin as I am prompted for a un/pw/authcode. I still have SSH to the box. How do I temporarily disable TFA using the command line?
So, there in the file /etc/webmin/miniserv.conf, there is a line:
And, in /etc/webmin/miniserv.users, there is this line.
I just deleted the totp so the line read:
Saved the file and restarted webmin: service webmin restart.
I could then log back in with un/pw and generated my QR code.
I took me a long time to see the difference between the two lines so I'm adding this to make it easier and save time for people like me.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.