Home > bash > [manjaro] ping needs special privileges

[manjaro] ping needs special privileges


$ ping -c 1 www.google.com
ping: icmp open socket: Operation not permitted


$ sudo chmod u+s `which ping`
$ ping -c 1 www.google.com
PING www.google.com ( 56(84) bytes of data.
64 bytes from ee-in-f104.1e100.net ( icmp_seq=1 ttl=45 time=38.6 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 38.681/38.681/38.681/0.000 ms
Categories: bash Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: