diff --git a/pages/common/dhcpig.md b/pages/common/dhcpig.md index 7c1471ea78..cdfd901074 100644 --- a/pages/common/dhcpig.md +++ b/pages/common/dhcpig.md @@ -1,7 +1,6 @@ # dhcpig > Initiates an advanced DHCP exhaustion attack and stress test. -> DHCPig needs to be run with root privileges. > More information: . - Exhaust all of the available DHCP addresses using the specified interface: diff --git a/pages/linux/cpufreq-aperf.md b/pages/linux/cpufreq-aperf.md index a8bccaac41..462d6fd460 100644 --- a/pages/linux/cpufreq-aperf.md +++ b/pages/linux/cpufreq-aperf.md @@ -1,7 +1,6 @@ # cpufreq-aperf > Calculate the average CPU frequency over a time period. -> Requires root privileges. > More information: . - Start calculating, defaulting to all CPU cores and 1 second refresh interval: diff --git a/pages/linux/dmidecode.md b/pages/linux/dmidecode.md index 19734c2c1a..af94f6d509 100644 --- a/pages/linux/dmidecode.md +++ b/pages/linux/dmidecode.md @@ -1,7 +1,6 @@ # dmidecode > Display the DMI (alternatively known as SMBIOS) table contents in a human-readable format. -> Requires root privileges. > More information: . - Show all DMI table contents: diff --git a/pages/linux/runuser.md b/pages/linux/runuser.md index ee76754511..14b9b06291 100644 --- a/pages/linux/runuser.md +++ b/pages/linux/runuser.md @@ -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: . - 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}}'` diff --git a/pages/osx/route.md b/pages/osx/route.md index 229c6f31ac..200a830cbb 100644 --- a/pages/osx/route.md +++ b/pages/osx/route.md @@ -1,7 +1,6 @@ # route > Manually manipulate the routing tables. -> Requires root privileges. > More information: . - Add a route to a destination through a gateway: