Since I lost my two factor recovery key, so i can't use the web gui.
But i still can use ssh to login.
How do i disable the two factor login option or find the recovery key by CLI.
Basically, on the root shell you can use: pveum user tfa unlock <userid>
Just replace <userid> with the respective value, e.g., root@pam for the root user.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.