mirror of https://github.com/pikvm/pikvm.git
Cheatsheet: Add a small section on performing commands with root privileges (#1588)
This commit is contained in:
parent
3cd4627ebc
commit
fae1145eea
|
|
@ -13,6 +13,14 @@ Here are **first steps guides** for each PiKVM device:
|
||||||
-----
|
-----
|
||||||
## Basics
|
## 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!}
|
{!_passwd.md!}
|
||||||
|
|
||||||
{!_config.md!}
|
{!_config.md!}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue