dnsmasq/group_and_isc.diff

26 lines
804 B
Diff

--- man/dnsmasq.8
+++ man/dnsmasq.8 2012/03/06 09:46:44
@@ -118,8 +118,7 @@
.TP
.B \-g, --group=<groupname>
Specify the group which dnsmasq will run
-as. The defaults to "dip", if available, to facilitate access to
-/etc/ppp/resolv.conf which is not normally world readable.
+as. The defaults to "nogroup".
.TP
.B \-v, --version
Print the version number.
--- src/config.h
+++ src/config.h 2012/03/06 09:46:26
@@ -34,8 +34,8 @@
#define ETHERSFILE "/etc/ethers"
#define RUNFILE "/var/run/dnsmasq.pid"
#define DEFLEASE 3600 /* default lease time, 1 hour */
-#define CHUSER "nobody"
-#define CHGRP "dip"
+#define CHUSER "dnsmasq"
+#define CHGRP "nogroup"
#define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
#define LOG_MAX 5 /* log-queue length */
#define RANDFILE "/dev/urandom"