My current DSM is 6.1.4-15217 Update 5.
There is something I do not understand :
I can ssh via an admin account, root account (yes, I shouldn't be according to docs) and my user account (john) which is in administrators group.
For security reasons, I would like to only allow connection through ssh with user account (john) and then do sudo root/admin if required.
For the moment, although I can log using root/admin, Once logged with John, I cannot sudo to root or admin (I triple checked the password used, account is not locked since I can always connect through ssh).
When I say connect, that means using putty from a windows box.
What is amiss in my configuration ?
Thanks for your input
Best Answer
Try sudo -i with john password instead of su. Looks very similar to your question: Synology DSM - Can't log as root (but works with admin)