summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-09-04 12:17:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-09-04 12:22:56 +0000
commit2800637751daac567be00cb76eec50ed1d3912e5 (patch)
tree038e6c8cc94f2e061425a39292c36480e7522584 /main
parentcc123e65e02747986c7df3e0a0aa623474cb74b8 (diff)
downloadaports-2800637751daac567be00cb76eec50ed1d3912e5.tar.bz2
aports-2800637751daac567be00cb76eec50ed1d3912e5.tar.xz
main/zabbix: use /sbin/nologin as shell
Diffstat (limited to 'main')
-rw-r--r--main/zabbix/APKBUILD2
-rw-r--r--main/zabbix/zabbix-agent.pre-install2
-rw-r--r--main/zabbix/zabbix.pre-install2
3 files changed, 3 insertions, 3 deletions
diff --git a/main/zabbix/APKBUILD b/main/zabbix/APKBUILD
index b495d1227..72cd936b5 100644
--- a/main/zabbix/APKBUILD
+++ b/main/zabbix/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zabbix
pkgver=2.0.8
-pkgrel=1
+pkgrel=2
pkgdesc="Enterprise-class open source distributed monitoring"
url="http://www.zabbix.com"
arch="all"
diff --git a/main/zabbix/zabbix-agent.pre-install b/main/zabbix/zabbix-agent.pre-install
index c196223a7..57d46c251 100644
--- a/main/zabbix/zabbix-agent.pre-install
+++ b/main/zabbix/zabbix-agent.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup zabbix 2>/dev/null
-adduser -S -H -h /dev/null -s /bin/false -D -G zabbix zabbix 2>/dev/null
+adduser -S -H -h /dev/null -s /sbin/nologin -D -G zabbix zabbix 2>/dev/null
addgroup -g 30 zabbix 2>/dev/null
exit 0
diff --git a/main/zabbix/zabbix.pre-install b/main/zabbix/zabbix.pre-install
index 8a9e5193c..f4d72cf56 100644
--- a/main/zabbix/zabbix.pre-install
+++ b/main/zabbix/zabbix.pre-install
@@ -1,5 +1,5 @@
#!/bin/sh
addgroup zabbix 2>/dev/null
-adduser -S -H -h /dev/null -s /bin/false -D -G zabbix zabbix 2>/dev/null
+adduser -S -H -h /dev/null -s /sbin/nologin -D -G zabbix zabbix 2>/dev/null
exit 0