|||

0104-change-synology-password-cli

I love my Synology NAS (1815+), for some configurations or changes, it’s easier to use the command line. It’s familiar, based on Linux, though not all commands are available.

This was the case with passwd, the dreaded, Command not Found. Not the first time I’ve run into this, and had to look it up, so I’ve decided to document it so it’s easier for me to remember (lookup) in my Tech notes.

Passwd Command not Found

Though based on Linux, not all commands are available. Such as the passwd command to change a password. Not all is lost, there is a synology equivilent command, synouser.

The command needs to be run with elevated permisions. Type sudo synouser at the command line and press enter to view the commands options. Also remember to escape any special charaters, or you may end up having a very bad day.

sudo synouser
sudo synouser --setpw kfalconspb ThisPasswordHas\!\!

The below is a screenshot and link[3] to an older pdf from Synology that give additional details.

Resources:

  1. Website: https://www.synology.com/

  2. Twitter: @Synology

  3. https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_DiskStation_Administration_CLI_Guide.pdf

Up next 0105-free-git-ebook
Latest posts 0104-change-synology-password-cli 0105-free-git-ebook 0103-using-brew-bundle-to-backup-and-restore-mac-app-store-and-brew-apps Update macOS with an all in one alias Mac App Store Command Line Interface 0100-macos-softwareupdate-cli Markdown Crash Course Video What’s New with Fusion and Workstation [HCP1833] File IO in Python Overview of vSphere 7 Video 0095-what_is_iso Migrating Website HTML details Tag Microsoft RD Client iOS App 0091-create_vmware_esxi_usb_install_media Intel NUC Lab Hosts Hardware Setup 0089-installng_microsoft_sql_2016 Installing the First Two Domain Controllers in the VMware ESXi 6.7 Lab Environment 0088-deploy_vcsa_in_lab Macchanger Utility, and Usage Install a Kali Linux VM in a VMware ESXi 6.7 Environment Install Ubuntu 18.04 Virtual Machine in a VMware ESXi 6.7 Environment Install xRDP on Ubuntu 18.04 Install Chromium on Ubuntu 18.04 Install OpenSSH on Ubuntu 18.04 Install VMware Workstation 14 on Ubuntu 18.04 Nested ESXi server Laboratorium Rattus The Animal Within Who is Veeam? RSAC OnDemand Videos 0075-create_win10_sandbox_vm