summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2009-03-10 10:56:40 +0000
committermartynas <martynas@openbsd.org>2009-03-10 10:56:40 +0000
commit1634876f9d86d0b4b0b67bdfde07ac1861cc97b1 (patch)
treeec63e971e4c0ee586b72b526ac529716c0ef7174 /usr.sbin/httpd/src
parentfork(2) or socketpair(2) failures are temporary, delivery attempt should be (diff)
downloadwireguard-openbsd-1634876f9d86d0b4b0b67bdfde07ac1861cc97b1.tar.xz
wireguard-openbsd-1634876f9d86d0b4b0b67bdfde07ac1861cc97b1.zip
by default drop privs to www/www, not nobody/nogroup if User/Group
entries are not present; or it's being run configless "sure" henning@, "makes sense" merdely@, ok sthen@
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r--usr.sbin/httpd/src/include/ap_config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/include/ap_config.h b/usr.sbin/httpd/src/include/ap_config.h
index bd489a78357..804c164d0e7 100644
--- a/usr.sbin/httpd/src/include/ap_config.h
+++ b/usr.sbin/httpd/src/include/ap_config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ap_config.h,v 1.22 2008/05/09 08:06:27 mbalmer Exp $ */
+/* $OpenBSD: ap_config.h,v 1.23 2009/03/10 10:56:40 martynas Exp $ */
/* ====================================================================
* The Apache Software License, Version 1.1
@@ -98,10 +98,10 @@ extern "C" {
#undef NO_SETSID
#define HAVE_SYSLOG 1
#ifndef DEFAULT_USER
-#define DEFAULT_USER "nobody"
+#define DEFAULT_USER "www"
#endif
#ifndef DEFAULT_GROUP
-#define DEFAULT_GROUP "nogroup"
+#define DEFAULT_GROUP "www"
#endif
#define HAVE_SHMGET 1
#define HAVE_MMAP 1