Cheatsheet: Add a small section on performing commands with root privileges (#1588)

This commit is contained in:
Aleksandr Prokudin 2025-09-21 14:08:43 +02:00 committed by GitHub
parent 3cd4627ebc
commit fae1145eea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -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!}