diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2003-01-20 21:21:39 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2003-01-20 21:21:39 +0000 |
commit | 28b0bef274e2fb06e24bf8da496759d5b1f9ed32 (patch) | |
tree | 3d0060ef10329e5d597c7c23c80033ba2c1b618d /usr.sbin/bind/bin | |
parent | af166110b67f350519bbb59a770e51c3b10432af (diff) |
chroot to /var/named by default
setuid to named by default
Diffstat (limited to 'usr.sbin/bind/bin')
-rw-r--r-- | usr.sbin/bind/bin/named/include/named/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bind/bin/named/include/named/globals.h b/usr.sbin/bind/bin/named/include/named/globals.h index 9e3d5fec98f..c23d87c6d50 100644 --- a/usr.sbin/bind/bin/named/include/named/globals.h +++ b/usr.sbin/bind/bin/named/include/named/globals.h @@ -97,7 +97,7 @@ EXTERN isc_resourcevalue_t ns_g_initopenfiles INIT(0); * Misc. */ EXTERN isc_boolean_t ns_g_coreok INIT(ISC_TRUE); -EXTERN const char * ns_g_chrootdir INIT(NULL); +EXTERN const char * ns_g_chrootdir INIT("/var/named"); EXTERN isc_boolean_t ns_g_foreground INIT(ISC_FALSE); EXTERN isc_boolean_t ns_g_logstderr INIT(ISC_FALSE); @@ -105,7 +105,7 @@ EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR "/run/named.pid"); EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR "/run/lwresd.pid"); -EXTERN const char * ns_g_username INIT(NULL); +EXTERN const char * ns_g_username INIT("named"); #undef EXTERN #undef INIT |