From fae1145eeab29933fa967b4abf40584f58f2c0ee Mon Sep 17 00:00:00 2001 From: Aleksandr Prokudin Date: Sun, 21 Sep 2025 14:08:43 +0200 Subject: [PATCH] Cheatsheet: Add a small section on performing commands with root privileges (#1588) --- docs/cheatsheet.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/cheatsheet.md b/docs/cheatsheet.md index 8b132ad3..cc03bfd2 100644 --- a/docs/cheatsheet.md +++ b/docs/cheatsheet.md @@ -13,6 +13,14 @@ Here are **first steps guides** for each PiKVM device: ----- ## Basics +??? note "Performing commands with root privileges" + + To perform any command with root privileges, you need to use `su -` followed by the command. For example, to power-off PiKVM, do this: + + `[kvmd-webterm@pikvm ~]$ su - shutdown -h` + + This applies to both SSH and web terminal sessions. + {!_passwd.md!} {!_config.md!}