How to login to DSM UC with root permission via SSH/Telnet?

How to login to DSM UC with root permission via SSH/Telnet?

Details

For system security reasons, root access to Synology Unified Controller is limited. If you need to get the root permission, please log in to your DSM UC in the command line interface (e.g., PuTTY) with any account credentials belonging to the Local Administrators group, and then run the sudo -i command to switch to root access.

Resolution

Below is an example of the steps to get root access via SSH:

  1. Go to DSM UC > Control Panel > Terminal & SNMP > Terminal, and tick Enable SSH service.
  2. Launch PuTTY to connect to the server of which the IP address is "192.168.23.60" and the host name is "Jettlee".
  3. log in as: admin: "admin" account belongs to the Local Administrators group under the server "192.168.23.60".
  4. admin@192.168.23.60's password: Enter the password of "admin".
  5. admin@Jettlee:~$ sudo -i: Run the sudo -i command, and you may see a default message concerning user's privacy.
  6. Password: Enter the password of "admin" again.
  7. root@Jettlee: You are now logged in with root permission.