Skip to main content

Synology: Commonly Used Commands

Synology ds120j

Commonly used commands via ssh with Synology NAS.

Synology Cheat Sheet

sudo -i : Login as root
synoindex -R video : Reindex video files

User management

There is no passwd command, user synouser command instead.

Synology command: synouser

Create new user 'tuyen' with password '1' and permission to access FTP (0x01), Audio Station (0x04) and Surveillance Station (0x10)

admin@DiskStation:~$ sudo /usr/syno/sbin/synouser --add tuyen 1 "Tuyen Dang" 0 tuyen@company.com 21

Re-index files

Re-index video files to remove deleted videos from being listed in DS Video

admin@DiskStation:~$ synoindex -R video

Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

[Microsoft Outlook]: Set .pst and .ost files location with ForcePSTPath Registry Key

Set .pst and .ost files location with ForcePSTPath Registry Key The ForcePSTPath registry key is supported by Microsoft Outlook 2003 and later. In Microsoft Outlook 2003 and 2007, it applies to new profiles only. Microsoft Outlook 2013 and Outlook 2016 it applies to new accounts created in a profile. Microsoft Outlook 2013 saves .pst in   %userprofile%\Documents\Outlook Files folder by default. We can change that default setting by adding a new string registry key called ForcePSTPath and set the value to the folder that we want to save those files. Set Microsoft Outlook 2013 always save new .pst and .ost files to D:\Data\Mail folder OST file reached the maximum size The OST File Has Reached The Maximum Size