Explorar el Código

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 hace 10 años
padre
commit
f9a84d9e0a
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  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
 {
 {