bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Ping: checking for root permissions.


From: Debarshi 'Rishi' Ray
Subject: [bug-inetutils] Ping: checking for root permissions.
Date: Wed, 28 Mar 2007 03:41:54 +0530

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




reply via email to

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