PBS TFA deaktivieren - Login Probleme

ichi123

Member
Apr 24, 2019
6
1
23
37
Guten Morgen liebe Community,

seit einigen Tagen ist auf meinem PBS kein Login mehr möglich. Über den Benutzernamen und das Passwort komme ich noch hinaus, die Eingabe vom zweiten Faktor klappt jedoch nicht mehr.

Gibt es die Möglichkeit die 2FA Option für den Benutzer root(pam) zu deaktiveren?

SSH Zugriff besteht noch. Ich habe mir auch bereits die "tfa.json" angeschaut - das Geheimnis und alle anderen Optionen passen - 6 digits, 30 Sekunden, SHA-1.
Ebenfalls habe ich die Datum- und Uhrzeiteinstellungen kontrolliert. Diese passen ebenfalls (auf beiden Geräten).

Syslog gibt folgendes aus:

Code:
Aug 13 09:36:06 pbs proxmox-backup-api[875]: authentication failure; rhost=[::ffff:XX.0.XXX.2]:1431 user=root@pam msg=totp verification failed

In der tfa.json steht folgendes:
Code:
{"users":{"root@pam":{"totp":[{"id":"8130ac4e-d0ac-4e54-82e9-296febbd5c38","description":"Mobile","created":1649004366,"entry":"otpauth://totp/Proxmox:root%40pam?secret=36LJNXPWKTG72AIMF4UAFED5MHSIMH34&digits=6&algorithm=SHA1&period=30&issuer=Proxmox"}]}}}

Habt ihr einen Rat für mich? Ich bin auch gerne für 'ne Neuinstallation bereit - würde das Problem aber gerne identifizieren, da ich bislang keine Probleme auf anderen Hosts habe bzw. hatte.

Sollten Infos fehlen, liefere ich diese natürlich gerne nach.

Liebe Grüße!
 
Last edited:
Sorry, war Dummheit - das Problem ist erledigt.
Es war doch die Uhrzeit. Man sollte schon aufpassen, dass der Zeitunterschied nicht "zu groß" wird.
NTP regelt dies jetzt.

Trotzdem würde es mich interessieren, ob eine Deaktivierung der TFA möglich ist ?
 

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 yours easily in our online shop.

Buy now!