Opened 7 years ago
Last modified 7 years ago
#54977 closed defect
mtr @0.87 (net) is no SUID anymore (as reinstalled under High Sierra) - now needs root to run — at Initial Version
Reported by: | SaintBol | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | suid highsierra | Cc: | |
Port: | mtr |
Description
Reinstalled mtr under High Sierra, and suddenly mtr cannot be run without been root: it cannot open a raw socket. Reason: it's no longer installed with SUID flag.
But, exactly like traceroute, mtr needs to be SUID.
$ ls -l $(which traceroute) -r-sr-xr-x 1 root wheel 38128 21 sep 06:35 /usr/sbin/traceroute
but:
$ ls -l $(which mtr) -rwxr-xr-x 1 root admin 85396 30 sep 20:00 /opt/local/sbin/mtr
Workaround: sudo chmod u+s /opt/local/sbin/mtr
To fix, mtr should be installed with SUID flag (as it was before, and like traceroute is).
Note: See
TracTickets for help on using
tickets.