9

Synology's OS doesn't seem to have a passwd command, and I have been unable to change my Root user's password using the synouser command:

MyNas > synouser --setpw root hunter2 Lastest SynoErr=[user_set.c:1040] synouser.c:616 SYNOUserSet failed. synoerr=[0x1D00]

I found this thread with the same error message, but I don't want to install sudo and passwd from Optware on this NAS.

This thread suggests rebooting the Synology, and I tried that in desperation, but I get the same error after it finishes starting.

2 Answers2

11

I was able to change the root password by changing the admin password with the same command.

synouser --setpw admin hunter2

Once I had changed the admin account's password, I could log in as root or as admin with the new password. I had thought it was a coincidence that the two accounts had the same password, but they are apparently joined together.

-2

All seems unnecessary to me but heigh ho. I resolved this after banging my head on brickwall for some time by setting the admin password through the web interface, ssh to the synology as admin, sudoing to the root id using bash and then running synouser --passwd root