openbsd-ports/www/varnish/patches/patch-bin_varnishd_mgt_param_c
jasper e8bfdacb9c - update to 3.0.2
from Gonzalo L. R.
maintainer timed-out
2011-12-23 13:06:30 +00:00

13 lines
467 B
Plaintext

$OpenBSD: patch-bin_varnishd_mgt_param_c,v 1.4 2011/12/23 13:06:30 jasper Exp $
--- bin/varnishd/mgt_param.c.orig Mon Oct 24 03:25:13 2011
+++ bin/varnishd/mgt_param.c Tue Nov 29 20:39:42 2011
@@ -261,7 +261,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;