dhcpig, cpufreq-apert, dmidecode, runuser, route: remove redundant header for root privileges (#21030)

This commit is contained in:
Managor
2026-02-07 11:47:44 +02:00
committed by GitHub
parent 9458c7f1ed
commit 3102b13573
5 changed files with 6 additions and 10 deletions
-1
View File
@@ -1,7 +1,6 @@
# dhcpig
> Initiates an advanced DHCP exhaustion attack and stress test.
> DHCPig needs to be run with root privileges.
> More information: <https://github.com/kamorin/DHCPig#usage>.
- Exhaust all of the available DHCP addresses using the specified interface:
-1
View File
@@ -1,7 +1,6 @@
# cpufreq-aperf
> Calculate the average CPU frequency over a time period.
> Requires root privileges.
> More information: <https://manned.org/cpufreq-aperf>.
- Start calculating, defaulting to all CPU cores and 1 second refresh interval:
-1
View File
@@ -1,7 +1,6 @@
# dmidecode
> Display the DMI (alternatively known as SMBIOS) table contents in a human-readable format.
> Requires root privileges.
> More information: <https://manned.org/dmidecode>.
- Show all DMI table contents:
+6 -6
View File
@@ -1,24 +1,24 @@
# runuser
> Run commands as a user and group without asking for password (needs root privileges).
> Run commands as a user and group without asking for password.
> More information: <https://manned.org/runuser>.
- Run command as a different user:
`runuser {{user}} {{[-c|--command]}} '{{command}}'`
`sudo runuser {{user}} {{[-c|--command]}} '{{command}}'`
- Run command as a different user and group:
`runuser {{user}} {{[-g|--group]}} {{group}} {{[-c|--command]}} '{{command}}'`
`sudo runuser {{user}} {{[-g|--group]}} {{group}} {{[-c|--command]}} '{{command}}'`
- Start a login shell as a specific user:
`runuser {{user}} {{[-l|--login]}}`
`sudo runuser {{user}} {{[-l|--login]}}`
- Specify a shell for running instead of the default shell (also works for login):
`runuser {{user}} {{[-s|--shell]}} {{/bin/sh}}`
`sudo runuser {{user}} {{[-s|--shell]}} {{/bin/sh}}`
- Preserve the entire environment of root (only if `--login` is not specified):
`runuser {{user}} {{[-p|--preserve-environment]}} {{[-c|--command]}} '{{command}}'`
`sudo runuser {{user}} {{[-p|--preserve-environment]}} {{[-c|--command]}} '{{command}}'`
-1
View File
@@ -1,7 +1,6 @@
# route
> Manually manipulate the routing tables.
> Requires root privileges.
> More information: <https://keith.github.io/xcode-man-pages/route.8.html>.
- Add a route to a destination through a gateway: