3 ms·
Check your local linux box with: file /bin/ping and you will see that it is setuid to root.
by wglb 12y ago
Check your local linux box with:
file /bin/ping
and you will see that it is setuid to root.
- dekhn 12y agoI think it depends on the distribution: https://wiki.archlinux.org/index.php/Capabilities https://wiki.archlinux.org/index.php/Capabilities seems to imply that ping could be used with CAP_NET_RAW capability instead of setuid root. http://blog.siphos.be/2013/05/capabilities-a-short-intro/ http://blog.siphos.be/2013/05/capabilities-a-short-intro/ suggests that as well.