I was not able to login to my Synology NAS (running on DSM 7) after I've enabled 2-factor authentication.
Searched a solution I ended up to this page: https://kb.synology.com/en-uk/DSM/tutorial/How_to_reset_my_Synology_NAS#x_anchor_id9
But they suggest to backup the system and I was not able to backup as I couldn't access. Well, probably I could mount the drive and backup from that but I wanted to find another solution.
You need to have SSH enabled and your account need to be an administrator.
sudo synouser --setpw admin 1sudo synouser --modify admin admin 0 [email protected]admin, use password 1.sign out and you will be able to login again.
Be sure to disable the 'admin' account again for security reasons.
Some useful info came from this document: https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_Administration_CLI_Guide.pdf
Search in the settings for "NTP". You will then find a "Regional Options" Pane where you can set the NTP-Server. A simple synchronize now solved my problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With