The documentation marks certain options with a *, which are apparently
meant to be run only as root user. Accordingly the code does the
necessary validation. However apart from '-V', '-L' and '-h' every
other invocation for ping will make a call to the ping_init, which
always needs root permissions to open the socket.

Thus both 'ping --echo <ip>' and 'ping --address <ip>' need root permissions.

So what is so special about these * marked options?

Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu


_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to