2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

299. [cleanup] Get the user and group information before changing the

root directory, so the administrator does not need to
			keep a copy of the user and group databases in the
			chroot'ed environment.  Suggested by Hakan Olsson.
This commit is contained in:
David Lawrence
2000-07-01 00:48:06 +00:00
parent 6dd953f666
commit 202991557a
5 changed files with 42 additions and 18 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: server.c,v 1.200 2000/06/23 01:08:29 gson Exp $ */
/* $Id: server.c,v 1.201 2000/07/01 00:48:03 tale Exp $ */
#include <config.h>
@@ -1334,7 +1334,7 @@ load_configuration(const char *filename, ns_server_t *server,
* Relinquish root privileges.
*/
if (first_time)
ns_os_changeuser(ns_g_username);
ns_os_changeuser();
/*
* Configure the logging system.