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:
- Enable SSH/Terminal in the DSM settings via Control Panel > Terminal and SNMP
- Open up a command prompt in Windows, press Windows key + ‘R’ , type CMD, press enter
- Open up a SSH connection to your Synology NAS using administrator account
3. Elevate your account privileges with the following command:
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”
[…] First you will need to establish a terminal connection to your server with the appropriate user privileges. Follow the guide on how to do that here. […]