Hello,
i have almost the same problem described in this topic: https://forum.proxmox.com/threads/lost-access-to-web-admin-after-disabling-2fa-totp.93581/
But the Solution of this topic dont work in my case.
So let us start from the beginning. I have used 2fa for my root@pam user. I wanted to test something, so i had to tourn off the 2fa. What i did is i disabled the 2fa for my root@pam user under "Access Control/Two Factor Authentication". The result of my brilliant idear is that, i am not able to login with my root@pam user. (Like in the topic linked below). The user there told that the whole user is disabled and you have to add
I think the user.cfg isnt the problem? What can i do?
i have almost the same problem described in this topic: https://forum.proxmox.com/threads/lost-access-to-web-admin-after-disabling-2fa-totp.93581/
But the Solution of this topic dont work in my case.
So let us start from the beginning. I have used 2fa for my root@pam user. I wanted to test something, so i had to tourn off the 2fa. What i did is i disabled the 2fa for my root@pam user under "Access Control/Two Factor Authentication". The result of my brilliant idear is that, i am not able to login with my root@pam user. (Like in the topic linked below). The user there told that the whole user is disabled and you have to add
user:root@pam:1:0:::censored@protonmail.com:::
into the user.cfg. But it dont works. There is always an syntax error. Here my user.cfg:
Code:
user: root@pam
email xxxxx@web.de
enable true
expire 0
firstname Bastian
lastname xxxxx
user: bastian@pbs
email xxxxxxx@web.de
enable true
expire 0
firstname Bastian
lastname xxxxxx
token: root@pam!backup
enable true
expire 0