diff src/auth/auth-settings.c @ 10910:858ad8aa7f8b HEAD

auth: Auth master process is now running as default_internal_user by default. Workers are still running as root, so PAM will continue to work as before.
author Timo Sirainen <tss@iki.fi>
date Sun, 14 Mar 2010 15:28:31 +0200
parents cb26518a7e51
children 87c462c463cc
line wrap: on
line diff
--- a/src/auth/auth-settings.c	Sun Mar 14 15:27:23 2010 +0200
+++ b/src/auth/auth-settings.c	Sun Mar 14 15:28:31 2010 +0200
@@ -40,7 +40,7 @@
 	.protocol = "",
 	.type = "",
 	.executable = "auth",
-	.user = "",
+	.user = "$default_internal_user",
 	.group = "",
 	.privileged_group = "",
 	.extra_groups = "",
@@ -62,7 +62,7 @@
 
 /* <settings checks> */
 static struct file_listener_settings auth_worker_unix_listeners_array[] = {
-	{ "auth-worker", 0600, "", "" }
+	{ "auth-worker", 0600, "$default_internal_user", "" }
 };
 static struct file_listener_settings *auth_worker_unix_listeners[] = {
 	&auth_worker_unix_listeners_array[0]