aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 12:16:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 12:16:30 +0000
commit9038df2ab8d2713357a507a7bf1179e791f1fd67 (patch)
treeaa99633c34baa7dfa5fc327ffeaa8f6eb8400c42
parent3de5863ff3e4f4ce90a6f002edce681689e34454 (diff)
downloadaports-9038df2ab8d2713357a507a7bf1179e791f1fd67.tar.bz2
aports-9038df2ab8d2713357a507a7bf1179e791f1fd67.tar.xz
main/unbound: use /sbin/nologin as shell
-rw-r--r--main/unbound/APKBUILD2
-rw-r--r--main/unbound/unbound.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/unbound/APKBUILD b/main/unbound/APKBUILD
index f78712aca7..5382a10e6a 100644
--- a/main/unbound/APKBUILD
+++ b/main/unbound/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=unbound
pkgver=1.4.20
-pkgrel=1
+pkgrel=2
pkgdesc="Unbound is a validating, recursive, and caching DNS resolver"
pkgusers="unbound"
pkggroups="unbound"
diff --git a/main/unbound/unbound.pre-install b/main/unbound/unbound.pre-install
index 015ba3c52f..4cd64d59c6 100644
--- a/main/unbound/unbound.pre-install
+++ b/main/unbound/unbound.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup -S unbound 2>/dev/null
-adduser -S -s /bin/false -D -H -h /etc/unbound -G unbound \
+adduser -S -s /sbin/nologin -D -H -h /etc/unbound -G unbound \
-g "Unbound user" unbound 2>/dev/null
exit 0