iftop: make commands in caveats copy/paste-friendly
Closes Homebrew/homebrew#33662. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
5d55fc8f7f
commit
aa87940b8b
1 changed files with 3 additions and 2 deletions
|
@ -18,8 +18,9 @@ class Iftop < Formula
|
||||||
def caveats; <<-EOS.undent
|
def caveats; <<-EOS.undent
|
||||||
iftop requires superuser privileges. You can either run the program
|
iftop requires superuser privileges. You can either run the program
|
||||||
via `sudo`, or change its ownership to root and set the setuid bit:
|
via `sudo`, or change its ownership to root and set the setuid bit:
|
||||||
$ sudo chown root:wheel #{sbin}/iftop
|
|
||||||
$ sudo chmod u+s #{sbin}/iftop
|
sudo chown root:wheel #{sbin}/iftop
|
||||||
|
sudo chmod u+s #{sbin}/iftop
|
||||||
|
|
||||||
In any case, you should be certain that you trust the software you
|
In any case, you should be certain that you trust the software you
|
||||||
are executing with elevated privileges.
|
are executing with elevated privileges.
|
||||||
|
|
Loading…
Reference in a new issue