aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:53:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 11:53:35 +0000
commit3068bfe15774e208f357b2132a49631489ebc66b (patch)
treeb551098cc0d77a6e01f0bf10a2cfd4b27a491b38 /main/dhcp
parentf3928e5faf4f98e97ef0d0e7de4a561793e9df61 (diff)
downloadaports-3068bfe15774e208f357b2132a49631489ebc66b.tar.bz2
aports-3068bfe15774e208f357b2132a49631489ebc66b.tar.xz
main/dhcp: use /sbin/nologin as shell
Diffstat (limited to 'main/dhcp')
-rw-r--r--main/dhcp/APKBUILD2
-rw-r--r--main/dhcp/dhcp.pre-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index f8ca41ccdd..4b2cb90984 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -2,7 +2,7 @@
pkgname=dhcp
pkgver=4.2.5_p1
_realver=${pkgver/_p/-P}
-pkgrel=1
+pkgrel=2
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
url="https://www.isc.org/"
arch="all"
diff --git a/main/dhcp/dhcp.pre-install b/main/dhcp/dhcp.pre-install
index 9c623bfb9e..7f09003cd2 100644
--- a/main/dhcp/dhcp.pre-install
+++ b/main/dhcp/dhcp.pre-install
@@ -1,5 +1,5 @@
#!/bin/sh
-adduser -h /var/lib/dhcp -s /bin/false -D dhcp 2>/dev/null
+adduser -h /var/lib/dhcp -s /sbin/nologin -D dhcp 2>/dev/null
exit 0