From: Guilherme Maciel Ferreira Date: Mon, 26 Nov 2012 17:32:42 +0000 (-0200) Subject: Documentation: explains how to setuid the pingcheck to allow it to be ran by an unpri... X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=48c8c5dc3c2509d8ab7be1c8455c8eab069b86b3;p=pingcheck Documentation: explains how to setuid the pingcheck to allow it to be ran by an unprivileged user. --- diff --git a/Readme b/Readme index 349b8ff..2f06f23 100644 --- 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 ---------------------------------------