summaryrefslogtreecommitdiff
path: root/dns/powerdns/files/patch-pdns_auth-main.cc
blob: 38c715a46e174bd3c4bcec8effa1c1959231c4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- pdns/auth-main.cc.orig	2023-06-01 06:54:16 UTC
+++ pdns/auth-main.cc
@@ -278,8 +278,8 @@ static void declareArguments()
 
   ::arg().setSwitch("no-shuffle", "Set this to prevent random shuffling of answers - for regression testing") = "off";
 
-  ::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") = "";
+  ::arg().set("setuid", "If set, change user id to this uid for more security") = "pdns";
+  ::arg().set("setgid", "If set, change group id to this gid for more security") = "pdns";
 
   ::arg().set("max-cache-entries", "Maximum number of entries in the query cache") = "1000000";
   ::arg().set("max-packet-cache-entries", "Maximum number of entries in the packet cache") = "1000000";