From 48c8c5dc3c2509d8ab7be1c8455c8eab069b86b3 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Mon, 26 Nov 2012 15:32:42 -0200 Subject: [PATCH] Documentation: explains how to setuid the pingcheck to allow it to be ran by an unprivileged user. --- Readme | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) 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 --------------------------------------- -- 1.7.1