Enable root login for scp/ssh DSM 6.0

      2 Comments on Enable root login for scp/ssh DSM 6.0

DSM 6.0 disabled root access over ssh. Sometimes you just want root access because it’s your box 😀

Synology simply has not set a password for account root (actually they locked it out using a “*” for password hash). Here is how to enable the root access for ssh/scp:

1. Login using putty or any other ssh client with administrator account (usually “admin”)
2. You will be asked for a password. Enter the one for the administrator account
3. You will get a command prompt
4. Enter: sudo su –
5. You will be asked for a password. Enter again the one for the administrator account
6. You will get a command prompt root@…
7. Enter command:

synouser --setpw root your_new_root_password

For “your_new_root_password” please use the desired password for root account.

Now you can login using “ssh root@your_diskstation” as usual (of course this work for scp also). No more hassle with sudo…

2 thoughts on “Enable root login for scp/ssh DSM 6.0

  1. Pingback: Xpenology Diskstation Login Page Info & Instructions Online User Account Activation - Odollars

Leave a Reply to Flabber Cancel reply

Your email address will not be published. Required fields are marked *

*