[SOLVED] 2FA for root disable in CLI

TFrenz

Member
May 13, 2020
96
7
13
58
Hello,
i have a new smartphone (old is broken) and now i can not login as root, while 2FA is installed.
at my new phone i must setup the 2FA new für the Proxmox Mailgateway.
How can i disable the 2FA at the CLI?

Thanks Thomas
 

TFrenz

Member
May 13, 2020
96
7
13
58
Hello, i have ist found.
Only the file /etc/pmg/tfa.json delete.
than i can login only with my password.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!