Fix: ‘Permission Denied’ error while attempting to edit system files. Synology root access in DSM 6.0

Unable to login as root via terminal/ssh? It looks like Synology changed something in DSM version 6.0. The suggested way to make changes to system files now is login to terminal/ssh as an administrator, then elevate your user account privileges, as shown in the below steps:

  1. Enable SSH/Terminal in the DSM settings via Control Panel > Terminal and SNMP
  2. Open up a command prompt in Windows, press Windows key + ‘R’ , type CMD, press enter
  3. Open up a SSH connection to your Synology NAS using administrator account
ssh admin@<ip_addresses_of_your_NAS>

3. Elevate your account privileges with the following command:

sudo -i

That’s it, now you should be able to edit system files and perform commands as root.

One thought on “Fix: ‘Permission Denied’ error while attempting to edit system files. Synology root access in DSM 6.0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s