Răsfoiți Sursa

The daemon was being install with nagios user/group instead of root.
Also, the comment on the xinetd file said default was on, but the
disable parameter was set to "yes". Changed the comment.

John C. Frickson 10 ani în urmă
părinte
comite
f9a84d9e0a
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 2 2
      src/Makefile.in
  2. 1 1
      startup/default-xinetd.in

+ 2 - 2
src/Makefile.in

@@ -70,8 +70,8 @@ install-plugin:
 	$(INSTALL) -m 775 $(NAGIOS_INSTALL_OPTS) check_nrpe $(PLUGINSDIR)
 
 install-daemon:
-	$(INSTALL) -m 775 $(NAGIOS_INSTALL_OPTS) -d $(SBINDIR)
-	$(INSTALL) -m 775 $(NRPE_INSTALL_OPTS) nrpe $(SBINDIR)
+	$(INSTALL) -m 775 -d $(SBINDIR)
+	$(INSTALL) -m 775 nrpe $(SBINDIR)
 
 clean:
 	rm -f core nrpe check_nrpe $(SNPRINTF_O)

+ 1 - 1
startup/default-xinetd.in

@@ -1,4 +1,4 @@
-# default: on
+# default: off
 # description: NRPE (Nagios Remote Plugin Executor)
 service nrpe
 {