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

Check and install php7.0-mbstring extention on Ubuntu 16.04 and Microsoft Windows

While learning Facebook SDK for PHP I overlooked one of system requirements preventing my code from running on my host. That is The mbstring extension. Facebook SDK for PHP's system requirements Check if mbstring is enabled root@ubuntu001:~# php -a Interactive mode enabled php > echo extension_loaded('mbstring'); php >exit root@ubuntu001:~# apt-cache search php7 | grep mbstring php7.0-mbstring - MBSTRING module for PHP root@ubuntu001:~# Install php7.0-mbstring root@ubuntu001:~# apt-get install php7.0-mbstring Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:   fontconfig-config fonts-dejavu-core libfontconfig1 libgd3 libjbig0   libjpeg-turbo8 libjpeg8 libmcrypt4 libtiff5 libvpx3 libxpm4 Use 'apt autoremove' to remove them. The following additional packages will be installed:   libapache2-mod-php7.0 php7.0-cli ph...