浏览代码

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 年之前
父节点
当前提交
f9a84d9e0a
共有 2 个文件被更改,包括 3 次插入3 次删除
  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
 {