Part XVI. System administration
This part is about running a KDOS machine rather than building one. Each chapter takes one subject, such as the firewall, a printer or a system that will not boot, and gives the commands for it in the manner of a wiki: what is installed, which file configures it, how to use it, and what to do when it fails. The chapters can be read in any order.
Every chapter has the same sections, in this order: Installation, Configuration, Usage, Tips, Troubleshooting, Known gaps and See also; testing/docscheck.sh refuses a chapter in this part that departs from them. A configuration file shown on a page is read from the tree each time the book is rendered, so it is the file KDOS ships. The chapters give numbered procedures; why a mechanism works the way it does is in the KDOS book, which every chapter links to. A step that has not been carried out on a running machine says so where it is given.
The chapters fall into nine groups.
System
Starting and stopping what runs, its logs, memory, time, language and accounts.
- Init and runlevels
- Services
- Writing a service
- Timers
- Logs
- Modules and sysctl
- zram and swap
- Out of memory
- Time and NTP
- Locale and console
- Users and groups
Boot
The boot menu, the initramfs, microcode, the two slots and the live medium’s own store.
- Boot menu and kernel parameters
- The initramfs and the rescue shell
- Microcode and firmware
- A/B slots and rollback
- Live persistence
Storage
Filesystems, removable disks, encryption, volumes and arrays, disk health and backups.
Security
Who may do what, logging in and locking, hardware keys, the firewall, SSH and signing keys.
- sudo, PAM and polkit
- Login and autologin
- Screen lock
- Fingerprints, FIDO keys and smart cards
- Firewall
- SSH server
- Signing keys and trust
Networking
Connections, name resolution, tunnels, modems, a hotspot, the radio’s country, sharing files and finding services.
- NetworkManager
- DNS
- VPN
- Mobile broadband
- Access point
- Wireless regulatory domain
- File sharing
- Avahi and mDNS
Hardware
Devices and the groups that open them, Bluetooth, sound, printers and scanners, displays, graphics, power and firmware.
- udev and device groups
- Bluetooth
- Printing and scanning
- Audio
- Displays and scaling
- Graphics drivers
- Power management
- Laptops
- Firmware updates
Packages and applications
Installing and updating packages, rebuilding them, and running applications in packs, boxes, containers and virtual machines.
Desktop
The Plasma session, shortcuts and window rules, the panel, X11 programs, input methods, fonts, accessibility and portals.
- Session and environment
- Shortcuts and window rules
- The panel and the launcher
- Xwayland and X11 applications
- Input methods
- Fonts and theming
- Accessibility
- Portals and screen sharing
Troubleshooting
Finding out what is wrong, and getting a desktop or a whole system back.
See also
- Administration: the KDOS book’s own chapter on running the system
- Configuration reference: every configuration key
- Known gaps: what does not exist