add a daemon user for lighttpd, from brad.

ok kili@
This commit is contained in:
ckuethe 2007-04-24 05:09:41 +00:00
parent 8ee41a2709
commit cb609921c5
4 changed files with 23 additions and 4 deletions

View File

@ -1,4 +1,4 @@
$OpenBSD: user.list,v 1.70 2007/04/15 11:56:26 aanriot Exp $
$OpenBSD: user.list,v 1.71 2007/04/24 05:09:41 ckuethe Exp $
This file lists all users and groups that are created by ports or that
users are encouraged to create after installing a port (these are marked
@ -93,3 +93,4 @@ id user group port options
582 _tabled _tabled sysutils/tabled
583 _kdesud x11/kde/base3
584 _nepenthes _nepenthes net/nepenthes
585 _lighttpd _lighttpd www/lighttpd

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.38 2007/02/02 09:25:18 bernd Exp $
# $OpenBSD: Makefile,v 1.39 2007/04/24 05:09:41 ckuethe Exp $
SHARED_ONLY= Yes
COMMENT= "secure, fast, compliant, and very flexible web-server"
DISTNAME= lighttpd-1.4.13
PKGNAME= ${DISTNAME}p2
PKGNAME= ${DISTNAME}p3
CATEGORIES= www net
MAINTAINER= Brad Smith <brad@openbsd.org>

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-doc_lighttpd_conf,v 1.1 2007/04/24 05:09:41 ckuethe Exp $
--- doc/lighttpd.conf.orig Wed Oct 4 15:29:19 2006
+++ doc/lighttpd.conf Sun Apr 15 10:56:19 2007
@@ -183,10 +183,10 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fc
#server.chroot = "/"
## change uid to <uid> (default: don't care)
-#server.username = "wwwrun"
+server.username = "_lighttpd"
## change uid to <uid> (default: don't care)
-#server.groupname = "wwwrun"
+server.groupname = "_lighttpd"
#### compress module
#compress.cache-dir = "/tmp/lighttpd/cache/compress/"

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.14 2006/09/23 15:44:04 brad Exp $
@comment $OpenBSD: PLIST,v 1.15 2007/04/24 05:09:41 ckuethe Exp $
@newgroup _lighttpd:585
@newuser _lighttpd:585:_lighttpd:daemon:lighttpd Account:/nonexistent:/sbin/nologin
bin/spawn-fcgi
lib/lighttpd/
@comment lib/lighttpd/mod_access.a