4 ms·
For some reason traceroute is in /sbin, but it works for normal users. Probably another historical accident (did it used to require root?).
by wmf 15y ago
For some reason traceroute is in /sbin, but it works for normal users. Probably another historical accident (did it used to require root?).
- gchpaco 15y agoConventional (that is, without capabilities) traceroute and ping were setuid root because it there was no provision for emitting ICMP packets in the network APIs and only root could assemble raw packets.
- koenigdavidmj 15y agoThe particular way traceroute runs is implementation-defined. Some use ICMP echo request packets (ping), which you have to be root to send on most Unices. Most of them, however, use UDP packets instead.