Hi guys.
After reinstalling windows, i can’t login to Webmin:10000.
Here is the scenario.
Login with CORRECT password
Enter OTP from Google Auth App
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.
ID10T
April 12, 2025, 9:49pm
2
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
@staff
@staff
Found solution but need additional support.
HOW TO FIX?
nano /etc/webmin/miniserv.users
remove totp:XXXCODEXXX
systemctl restart webmin
Now i can login without OTP code, BUT when i want to Enroll again got this error
Joe
April 12, 2025, 10:23pm
5
Most authentication apps use TOTP, Google Authenticator included.
1 Like
inteq
April 13, 2025, 12:03am
6
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
maxyo.vip:
remove totp:XXXCODEXXX
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.
To disable 2FA in Webmin:
in /etc/webmin/miniserv.conf, remove twofactor_provider=totp
in /etc/webmin/miniserv.users, replace something like root:x:0:::::::0:0:totp:HBL7W4RTGXT6FG8W: with something like root:x:0:::::::0:0::HBL7W4RTGXT6FG8W:
restart Webmin with service webmin restart
See if you can login now with your old login and password, @Steini
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
system
Closed
April 21, 2025, 12:08am
8
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.