Run slapd as a non-privileged user.

ok ajacoutot@
This commit is contained in:
pea 2011-01-13 15:44:10 +00:00
parent 9bbf50ab92
commit 91d98e4cff
2 changed files with 4 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2011/01/07 12:26:50 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2011/01/13 15:44:10 pea Exp $
COMMENT= Open source LDAP software (server)
DISTNAME= openldap-2.3.43
PKGNAME= ${DISTNAME:S/-/-server-/}
REVISION= 6
REVISION= 7
CATEGORIES= databases net

View File

@ -1,8 +1,9 @@
#!/bin/sh
#
# $OpenBSD: slapd.rc,v 1.2 2011/01/07 12:26:50 ajacoutot Exp $
# $OpenBSD: slapd.rc,v 1.3 2011/01/13 15:44:10 pea Exp $
daemon="${TRUEPREFIX}/libexec/slapd"
daemon_flags="-u _openldap"
. /etc/rc.d/rc.subr