How to disable two-factor authentication using command line for webmin

  • murray davis

    murray davis - 2014-03-26

    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?

  • murray davis

    murray davis - 2014-03-26


    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.

  • linNovWin

    linNovWin - 2014-06-05

    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.
    becomes this:

    Last edit: linNovWin 2014-06-05

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks