mtr: recommend sudo instead of setuid.
This commit is contained in:
parent
9a66e143e8
commit
6d3673bc66
1 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue