mtr: recommend sudo instead of setuid.

This commit is contained in:
Mike McQuaid 2015-02-19 09:28:51 +00:00
parent 9a66e143e8
commit 6d3673bc66

View file

@ -35,14 +35,8 @@ class Mtr < Formula
end
def caveats; <<-EOS.undent
mtr 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}/mtr
sudo chmod u+s #{sbin}/mtr
In any case, you should be certain that you trust the software you
are executing with elevated privileges.
mtr requires root privileges so you will need to run `sudo mtr`.
You should be certain that you trust any software you grant root privileges.
EOS
end
end