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

Re: Who changes /bin/ping on my system ?



On 05/03/14 09:46, John Hasler wrote:
> Scott Ferguson writes:
>> Sorry I don't have access to a Sid box at the moment - perhaps someone
>> who has, and for whom ping is working could post the output of "getcap
>> `which ping`"??
> 
> /bin/ping = cap_net_raw+p
> 

Thanks John (it was a long shot guess on my part).

So if the OP (Tim) doesn't need to get that output from getcap it should
be reset:-

# setcap cap_net_raw+p `which ping`

NOTE: I haven't tested that as I'm not running unstable, adding the -v
parameter will give much more information about the outcome.

There still remains the problem of why does it stop working. Bugreport?

Kind regards


Refs:-
man getcap
man setcap
man cap_from_text
http://blog.fpmurphy.com/2009/05/linux-security-capabilities.html


Reply to: