OTP code not working

Hi guys.

After reinstalling windows, i can’t login to Webmin:10000.
Here is the scenario.

  1. Login with CORRECT password
  2. Enter OTP from Google Auth App
  3. Got “Incorrect OTP code” error
    3.1. Tried Chrome/Mozilla same error

I am pretty sure that this works before reinstalling the windows.

I have SSH root access and today’s FULL backup on Google Drive.
What i can do?

BTW i am using Webmin/Virtualmin Pro last versions.

Are one of these the same as Google Auth App? I only see two selections and Google isn’t one of them.

I am using this one ‎Google Authenticator on the App Store
I am not sure when setting up what i have selected there, but this works before :frowning:
@staff

@staff

Found solution but need additional support.

HOW TO FIX?

  1. nano /etc/webmin/miniserv.users
  2. remove totp:XXXCODEXXX
  3. systemctl restart webmin

Now i can login without OTP code, BUT when i want to Enroll again got this error

Most authentication apps use TOTP, Google Authenticator included.

1 Like

Always had this issue with google auth.
Switched to Aegis (open source) and not a single problem.
Internet is full of people having issues with google auth.
Do yourself a favor a ditch it.

2 Likes

You may have removed to much. Only remove totp that XXXCODEXXX is not a code, I think that encrypted password. Not sure that would cause the pid issue though.

Opps, just tested on my system, that is the TOTP code, removing TOTP changes the root user to this line.
root:x::::::::0::::

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.