[Top][All Lists]

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

Re: [bug-inetutils] ping: ping must run as root

From: Jeff Bailey
Subject: Re: [bug-inetutils] ping: ping must run as root
Date: Sat, 7 Feb 2009 07:18:26 -0500

On Sat, Feb 7, 2009 at 1:15 AM, Anders Juel Jensen
<address@hidden> wrote:
> Hi guys :-)
> I just fiddled a little about with pre-release 1.6 on GNU/Linux, and came
> across a little oddity:
> address@hidden:~/inetutils-1.6/ping$ ./ping gnu.org
> ping: ping must run as root
> Regression?

With the filesystem priviledge capability system in recent kernels,
you theoretically shouldn't need to be root, but in practice you do
right at the moment in order to access SOCK_RAW.  As Sergey noted,
make install will handle that for you.

What would be lovely would be a configure time test for the capability
tool and possible a test to see if the filesystem supports it, and
then set that instead of setting root.  Interested?


Jeff Bailey - http://www.raspberryginger.com/jbailey/
"(The panda) was so cute and I just wanted to cuddle him," Liu was
quoted as saying from his hospital bed. "I didn't expect he would

reply via email to

[Prev in Thread] Current Thread [Next in Thread]