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

Linux command: wc - word count

Sharon McCutcheon on Unsplash "/> wc - print newline, word, and byte counts for each file

error setting certificate verify locations when run git clone

I run into this error while using git clone. D:\Projects>git clone https://github.com/jonmountjoy/facebook-template-ruby Cloning into 'facebook-template-ruby'... fatal: unable to access 'https://github.com/jonmountjoy/facebook-template-ruby/': error setting certificate verify locations:   CAfile: C:/Program Files (x86)/Git/mingw32/ssl/certs/ca-bundle.crt   CApath: none How to fix Run DOS Prompt as Administrator, and run git config --system http.sslcainfo "Path to ca-bundle.crt" Microsoft Windows [Version 10.0.10586] (c) 2015 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32> git config --system http.sslcainfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt" C:\WINDOWS\system32> Then, I can run git clone successfully. D:\Projects>git clone https://github.com/jonmountjoy/facebook-template-ruby Cloning into 'facebook-template-ruby'... remote: Counting objects: 177, done. remote: Total 1...