Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bric3/f4cd1df68ad13c48adc3d434b6608fb5 to your computer and use it in GitHub Desktop.
Save bric3/f4cd1df68ad13c48adc3d434b6608fb5 to your computer and use it in GitHub Desktop.
Synology transmission change username and password

The default credential is admin:admin.

  1. SSH into your synology
  2. Stop transmission : sudo synopkg start transmission
  3. Edit /var/packages/transmission/var/settings.json to change the username and password, make sure authentication is required, pssibly requires sudo.
{
    "rpc-authentication-required": true,
    "rpc-username": "...",
    "rpc-password": "...", // enter clear text password, it will be hased on restart
}
  1. Possibly edit /var/packages/transmission/target/var/settings.json if it's present, it wasn't for me so did nothing. Change it the same as above.
  2. Start the service, `sudo synopkg start transmission, after the clear text password is replaced by a its hashed value.
  3. Login on the web interface.

To understand how the username and password get inserted into the settings.json, you can read /var/packages/transmission/scripts/service-setup.

Tested on Transmission 4.0.6 38c164933e, DSM 7.1.1-42962 Update 8

Note for synpkg commands, if you don't sudo them you may see this error message Failed to restart package [transmission], err=[263]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment