aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 12:08:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 12:15:09 +0000
commit556be83aefe766b708a223eb91b0af6e895ced6d (patch)
treee4ea5e466ceecd017ff512b890729185f19de6f8 /main/openldap
parentca0c6b360ca3cc75def654e2f01763287429ade4 (diff)
downloadaports-556be83aefe766b708a223eb91b0af6e895ced6d.tar.bz2
aports-556be83aefe766b708a223eb91b0af6e895ced6d.tar.xz
main/openldap: use /sbin/nologin as shell
Diffstat (limited to 'main/openldap')
-rw-r--r--main/openldap/APKBUILD2
-rw-r--r--main/openldap/openldap.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 7292dc7729..afff0d03b4 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openldap
pkgver=2.4.36
-pkgrel=1
+pkgrel=2
pkgdesc="LDAP Server"
url="http://www.openldap.org/"
arch="all"
diff --git a/main/openldap/openldap.pre-install b/main/openldap/openldap.pre-install
index 7de7c0ce33..f5d586f789 100644
--- a/main/openldap/openldap.pre-install
+++ b/main/openldap/openldap.pre-install
@@ -1,7 +1,7 @@
#!/bin/sh
addgroup -S ldap 2>/dev/null
-adduser -h /usr/lib/openldap -s /bin/false -S -D -H -g "OpenLdap User" \
+adduser -h /usr/lib/openldap -s /sbin/nologin -S -D -H -g "OpenLdap User" \
-G ldap ldap 2>/dev/null
exit 0