Any way to disable two factor authentication without logging in? #293
Replies: 15 comments 4 replies
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: You could probably insert a new login into the credentials table, but I don't know the name of the table or how to make the account an admin. I could experiment. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Jun 18 2016 17:47:29 UTC: Sorry to hear about that, but you can do the following to create a new admin user which you can use to get back into your panel. (as root)
Once you have created the new user, login as that user and you can reset your account. Hope this helps! (Sorry, I moved your post from the other category before finding this thread.) |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: That says you didn't put a password in for the SQL login. Did you not set one before? |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: Hmm. Let me check the script. It should be running |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: aha. There are variables at the top of the file. Open it in a text editor and change the Probably not the way it was meant to happen, but it should work. |
Beta Was this translation helpful? Give feedback.
-
RobinMCNetwork wrote at Jun 18 2016 17:47:29 UTC: Is there any way to disable another user's two factor authentication from this backup account? |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: Check under Settings>>Find Account>>[ACCT NAME] |
Beta Was this translation helpful? Give feedback.
-
RobinMCNetwork wrote at Jun 18 2016 17:47:29 UTC: I have checked there already, and I can't seem to find any option. Will changing the password work? Now I have to wait a while to post this, gotta hate spam protection xD |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: I don't really know, since I don't have it enabled :p. Yeah, the 2-minute limit really makes troubleshooting tricky. |
Beta Was this translation helpful? Give feedback.
-
RobinMCNetwork wrote at Jun 18 2016 17:47:29 UTC: I'll just give it a try I guess EDIT: Nope, doesn't work EDIT EDIT: I'll try removing the user and creating a new administrator user |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: OK. I think I can tell you how to disable it. It involves DB editing, so be ready for CMDs. I think if you remove the user, it'll delete the servers associated. |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: Well I can tell you how to disable TOTP. It isn't that bad. |
Beta Was this translation helpful? Give feedback.
-
RobinMCNetwork wrote at Jun 18 2016 17:47:29 UTC: Yes please :) I just realised I do have one server associated with my account |
Beta Was this translation helpful? Give feedback.
-
zacharee wrote at Jun 18 2016 17:47:29 UTC: Open a terminal and run these commands:
For the two |
Beta Was this translation helpful? Give feedback.
-
RobinMCNetwork wrote at Jun 18 2016 17:47:29 UTC: You edited your post just in time, I was about to update "totp_secret" to "" when I noticed you changed it to NULL EDIT: Works like a charm, thanks for the time you put into helping me :) |
Beta Was this translation helpful? Give feedback.
-
RobinMCNetwork wrote at Jun 18 2016 17:47:29 UTC:
I installed CyanogenMod on my phone yesterday. I made a system backup (so not apps) just in case something would go wrong. After installing it I realised I could no longer log in into my accounts (Google, Microsoft and PufferPanel). Fortunately services like Google and Microsoft gives the user backup codes which they can write down and store somewhere secure, for emergency situations like this one. PufferPanel doesn't have this feature as far as I know. My question: Is there any way I can get back into my account? It is the only administrator/superuser account on this installation. Possibly some value to change in the SQL database?
Beta Was this translation helpful? Give feedback.
All reactions