Documentation: explains how to setuid the pingcheck to allow it to be ran by an unpri...
authorGuilherme Maciel Ferreira <guilherme.maciel@datacom.ind.br>
Mon, 26 Nov 2012 17:32:42 +0000 (15:32 -0200)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Tue, 27 Nov 2012 23:59:44 +0000 (21:59 -0200)
Readme

diff --git a/Readme b/Readme
index 349b8ff..2f06f23 100644 (file)
--- a/Readme
+++ b/Readme
@@ -28,6 +28,16 @@ There are many ways to invoke the application, the simplest is just type:
 which uses the configuration values from the configuration file (described in
 the Configuration File section).
 
+Note: like the ordinary ping, pingcheck binary requires root privileges to
+access control packets. You can run it from sudo:
+  sudo ./pingcheck
+or setuid:
+  sudo chown root:root pingcheck
+  sudo chmod u+s pingcheck
+  ./pingcheck
+the last method is the common way to provide temporary root privileges for
+an executable.
+
 
 1.3. Resources
 ---------------------------------------