SSH as admin (you should never have a problem here if you do set password for admin in the Control Panel > Users in DSM)
This will prompt you for a password use your admin password
Now you’ll be SSH in as Root
Type this, it will set the password of your choosing to the root account.
synouser –setpw root [PASSWORD]