On Thu, Jun 02, 2016 at 01:56:08PM -0800, Britton Kerin wrote: > On my old debian system I could ping as a normal user. The ping > binary had the suid bit set. Now I get: > > $ ping www.google.com > ping: icmp open socket: Operation not permitted > 2 $ > > presumably because the bit isn't set. > > What's the right fix? I could setuid it but then if I understand > correctly it might get changed back by an upgrade. Does it use > capabilites or something?
Yes, it uses capabilities. The simple fix is to do this: dpkg-reconfigure iputils-ping