diff options
| author | Eugene San (eugenesan) | 2013-10-25 14:57:48 +0300 |
|---|---|---|
| committer | Adam Vandenberg | 2013-10-27 08:18:19 -0700 |
| commit | ecfdfc91b267b9d82ab506caae8057a3f70338d9 (patch) | |
| tree | 4399c001e3e12498c7d72477b4ca4c184e7099b3 /Library | |
| parent | d04691186282ee0943964d91a741c3766e30dc48 (diff) | |
| download | homebrew-ecfdfc91b267b9d82ab506caae8057a3f70338d9.tar.bz2 | |
iftop: add caveats
Closes #23581.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/iftop.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/iftop.rb b/Library/Formula/iftop.rb index 5fd9bf93a..6b4deaefa 100644 --- a/Library/Formula/iftop.rb +++ b/Library/Formula/iftop.rb @@ -14,4 +14,16 @@ class Iftop < Formula "--mandir=#{man}" system "make install" end + + def caveats; <<-EOS.undent + iftop requires superuser privileges. You can either run the program + 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 + + In any case, you should be certain that you trust the software you + are executing with elevated privileges. + EOS + end + end |
