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

Windows command: icacls

Icacls is a command-line utility that can be used to display or modify discretionary access control lists (DACLs) on specified files, and apply stored DACLs to files in specified directories.

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.