Synology: DSM - Reset Two-factor authentication
Aus Wiki-WebPerfect
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
Description
First line: switch to user root Second line: switch directory to authentication settings Third line: remove google authentication configuration.