Subject: Re: /sbin/ping - fails to drop into background?
To: Lucio De Re <lucio@proxima.alt.za>
From: Geert Hendrickx <ghen@telenet.be>
List: tech-userlevel
Date: 08/05/2007 18:39:09
On Sun, Aug 05, 2007 at 02:05:44PM +0200, Lucio De Re wrote:
> What would it take to compile a new version of PING?  I can download
> all the NetBSD sources for version 2.1, but a simple "make" in
> /usr/src/sbin/ping dooesn't get me very far.  Can I twist someone's
> arm to supply me with a trusted binary?
> 
> Or am I missing only something tiny?  Keep in mind that I'll need to
> do this (download sources, make appropriate preparations, compile ping
> and install) on three production NetBSD platforms: 1.6.1, 2.1 and 3.1.

If you're using -current sources, try with "make USETOOLS=never" after
commenting out line 639 of ping.c.  When copying into /sbin, don't forget
to make the binary setuid root (chmod 4755 /sbin/ping).

	Geert