Synology: DSM - Reset Two-factor authentication

Aus Wiki-WebPerfect
Version vom 19. November 2019, 10:53 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

If you can't login to your Synology NAS WebGUI (DSM), because you lost the 2FA authentication key (for exmaple you lost your phone), then you can reset this 2-factor authentication.

Remove 2FA authentication (for example with google authenticator)

  • Connect to your NAS with SSH
  • Run following commands:
sudo -i
cd /usr/syno/etc/preference/
rm google_authenticator


First line: switch to user root Second line: switch directory to authentication settings Third line: remove google authentication configuration.