[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make ping executable by normal users?



On Thursday 02 June 2016 22:56:08 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?

So far as I can see, ping IS executable by normal users.  But then I have only 
got Wheezy and Jessie.  Are you using Stretch or Sid??

Lisi


Reply to: