From 2800637751daac567be00cb76eec50ed1d3912e5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 4 Sep 2013 12:17:23 +0000 Subject: main/zabbix: use /sbin/nologin as shell --- main/zabbix/APKBUILD | 2 +- main/zabbix/zabbix-agent.pre-install | 2 +- main/zabbix/zabbix.pre-install | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'main') 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 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 -- cgit v1.2.3