System and sign-in
Starting the NAS, its firmware and kernel, signing in, SSH, scheduled jobs and the rights of services.
Guides
- Accounts, two-factor authentication and API tokens
Turn on two-factor authentication, give git and WebDAV clients their own passwords, make API tokens for scripts, and get back in after a lockout.
- Scheduled jobs on your NAS: cron with a log, and notices when something fails
Schedule commands on a QNAP NAS with Bucket & Code Server IDE: cron with a preview of the next runs, a log of every run, and a notice when one fails.
- Run your package's service in a jail: its own account, no root, only the network you allow
Confine a QPKG package's service in a jail: its own account, no root, a seccomp filter, only loopback inside, ports relayed. Built and checked.
- Build a kernel module for your NAS: the CH341 USB-serial driver
Build the CH341 USB-serial driver for the kernel your QNAP NAS runs, check it against that kernel, and load it: the kernel workshop step by step.
Questions
- How do I recover a QNAP NAS's firmware after a failed update (firmware recovery)?
- My QNAP NAS does not start and Qfinder does not see it. What do I do?
- How do I update a QNAP's firmware from the console (SSH) when the panel does not work?
- What do I do when two-step verification will not let me into the NAS?
- How do I connect to a QNAP over SSH?
- How do I get back earlier copies of a QNAP's settings?
- How do I turn on two-factor sign-in and API tokens?
- How do I run a service without root, in a jail?
- How do I build a kernel module for the NAS?
Glossary
- autorun.sh
- A script QTS runs at start on supported models when user-defined startup processes are on in Control Panel. It lives on the boot configuration partition, not in a shared folder.
- firmware
- QNAP's word for the system of the NAS, QTS or QuTS hero. It updates automatically or from an image you upload; the NAS restarts to finish the update.
- jail
- An isolated set of files and rights in which a service runs.
- kernel
- The part of Linux that manages the hardware, memory and processes.
- kernel log
- The record of events that the Linux kernel writes.
- Malware Remover
- QNAP's app that scans the NAS for known malware and removes what it finds. You start a scan yourself or set a schedule.
- NAS
- A computer that stores files and shares them over a network.
- QTS
- QNAP's NAS system, whose volumes use LVM and ext4.
- QuTS hero
- QNAP's NAS system on ZFS.
- ransomware
- Malware that blocks access to files and demands a ransom. DeadBolt, Qlocker and eCh0raix attacked QNAP NAS units. A snapshot or an offline backup made before the attack brings the files back, if the attack did not delete it.
- root
- The Linux account with every right in the system.
- SSH
- An encrypted connection to a command line on another computer.
- two-factor authentication
- A sign-in that asks for a second proof besides the password, for example a code.
- UPS
- A power supply with a battery that keeps the NAS running during a power cut. Over USB or the network it tells the NAS about the cut; the NAS then shuts down or waits, as set in its settings.