Sfoglia il codice sorgente

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 anni fa
parent
commit
f9a84d9e0a
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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) -m 775 $(NAGIOS_INSTALL_OPTS) check_nrpe $(PLUGINSDIR)
 
 
 install-daemon:
 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:
 clean:
 	rm -f core nrpe check_nrpe $(SNPRINTF_O)
 	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)
 # description: NRPE (Nagios Remote Plugin Executor)
 service nrpe
 service nrpe
 {
 {