1
2
3
4
5
6
7
8
9
10
11 | -rwxr-xr-x 1 root root 38932 May 7 2014 /bin/ping $ ping 8.8.8.8 ping: icmp open socket: Operation not permitted $ sudo setcap cap_net_raw+p /bin/ping $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=11.3 ms ^C --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 11.384/11.384/11.384/0.000 ms |