openbsd-ports/www/varnish/patches/patch-bin_varnishd_mgt_param_c

13 lines
464 B
Plaintext

$OpenBSD: patch-bin_varnishd_mgt_param_c,v 1.3 2010/09/11 13:03:46 jim Exp $
--- bin/varnishd/mgt_param.c.orig Sun Jun 27 15:02:54 2010
+++ bin/varnishd/mgt_param.c Sun Jun 27 15:02:17 2010
@@ -264,7 +264,7 @@ tweak_user(struct cli *cli, const struct parspec *par,
(void)par;
if (arg != NULL) {
if (!strcmp(arg, MAGIC_INIT_STRING)) {
- pw = getpwnam("nobody");
+ pw = getpwnam("_varnish");
if (pw == NULL) {
master.uid = getuid();
return;