Re: [RFC][PATCH] Test ping w/o privileges

Collin Funk <[email protected]> Tue, 02 Jul 2024 15:03:43 -0700
Newsgroups gmane.comp.gnu.inetutils.bugs
Message-ID <[email protected]>
Hi Erik,

Erik Auerswald <[email protected]> writes:

> as a first attempt at testing "ping" without requiring root, the following
> patch works for me.  Do we need to add a check if "cut" is available?
> Since the "id -G" is only used on systems with the kernel Linux, it may
> be OK without a check, or should we add one?

Both 'cut' and 'id' are a part of POSIX so they should be fine IMO.

Collin