The Computer Oracle

Synology DSM - Can't log as root (but works with admin)

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Ominous Technology Looping

--

Chapters
00:00 Synology Dsm - Can'T Log As Root (But Works With Admin)
00:52 Accepted Answer Score 17
01:14 Answer 2 Score 35
01:29 Answer 3 Score 0
01:43 Answer 4 Score 0
02:02 Thank you

--

Full question
https://superuser.com/questions/1057853/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#login #root

#avk47



ANSWER 1

Score 35


If your synology is in DSM6 and you're logged with a user part of administrator group, you can do :

sudo -i

enter your root/admin password

or even sudo su - (it works to)

now you're root tadaaa




ACCEPTED ANSWER

Score 17


Your Synology probably upgraded to DSM6, in which security has been hardened... In DSM6 you can no longer use root for SSH, but you can use any other member account of the administrators group. Mind that you now need to sudo when logged in using SSH.

See the DSM6 release notes!




ANSWER 3

Score 0


You can also just SSH using rsa keys, then you can SSH as root, even after installing DSM6, without making any additional changes.




ANSWER 4

Score 0


If you're still with DSM Version 5, you might have logged in as admin instead of root. This makes a difference, even though root and admin share the same password.

To solve, do

ssh root@synology.local

with using the admin password.

This will log you in as root, with root access.