aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns-recursor/files/extrapatch-setuid
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-05-30 05:51:26 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-05-30 05:51:26 +0000
commitf512eeee4f3fa8f694308039fc44da1fff4e45f0 (patch)
treedd56bb1404581e67b4558c685722b3504e7d53dc /dns/powerdns-recursor/files/extrapatch-setuid
parent20e4e38d89660c8eb2c11ad9ad54b1332de9f5ce (diff)
downloadports-f512eeee4f3fa8f694308039fc44da1fff4e45f0.tar.gz
ports-f512eeee4f3fa8f694308039fc44da1fff4e45f0.zip
Notes
Diffstat (limited to 'dns/powerdns-recursor/files/extrapatch-setuid')
-rw-r--r--dns/powerdns-recursor/files/extrapatch-setuid13
1 files changed, 13 insertions, 0 deletions
diff --git a/dns/powerdns-recursor/files/extrapatch-setuid b/dns/powerdns-recursor/files/extrapatch-setuid
new file mode 100644
index 000000000000..50db88ce9e7a
--- /dev/null
+++ b/dns/powerdns-recursor/files/extrapatch-setuid
@@ -0,0 +1,13 @@
+--- pdns_recursor.cc.orig Wed Jan 17 23:45:51 2007
++++ pdns_recursor.cc Thu Jan 18 00:01:47 2007
+@@ -1669,8 +1669,8 @@
+ ::arg().set("daemon","Operate as a daemon")="yes";
+ ::arg().set("log-common-errors","If we should log rather common errors")="yes";
+ ::arg().set("chroot","switch to chroot jail")="";
+- ::arg().set("setgid","If set, change group id to this gid for more security")="";
+- ::arg().set("setuid","If set, change user id to this uid for more security")="";
++ ::arg().set("setgid","If set, change group id to this gid for more security")="pdns";
++ ::arg().set("setuid","If set, change user id to this uid for more security")="pdns_recursor";
+ #ifdef WIN32
+ ::arg().set("quiet","Suppress logging of questions and answers")="off";
+ ::arg().setSwitch( "register-service", "Register the service" )= "no";