diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-23 12:52:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-23 12:55:50 +0000 |
commit | 45af5bda242ec3f6b0a43af9cae6e90b511601ad (patch) | |
tree | 2e694d65b6bc796e5a2737e21335be1eab5f8a26 /main | |
parent | 2ca85998fc7d7ab1dc49fd600566a7f7be7e64ac (diff) | |
download | aports-45af5bda242ec3f6b0a43af9cae6e90b511601ad.tar.bz2 aports-45af5bda242ec3f6b0a43af9cae6e90b511601ad.tar.xz |
main/nagios: create user and group as system user/group
ref #427
Diffstat (limited to 'main')
-rw-r--r-- | main/nagios/APKBUILD | 2 | ||||
-rw-r--r-- | main/nagios/nagios.pre-install | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/nagios/APKBUILD b/main/nagios/APKBUILD index 1194b98bc6..ec3fcc267b 100644 --- a/main/nagios/APKBUILD +++ b/main/nagios/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter <clandmeter at gmail> pkgname=nagios pkgver=3.2.2 -pkgrel=1 +pkgrel=2 pkgdesc="Popular monitoring tool" url="http://www.nagios.org/" license="GPL-2" diff --git a/main/nagios/nagios.pre-install b/main/nagios/nagios.pre-install index 3039983023..52ca329000 100644 --- a/main/nagios/nagios.pre-install +++ b/main/nagios/nagios.pre-install @@ -1,4 +1,5 @@ #!/bin/sh -adduser -H -h /var/nagios -s /bin/false -D nagios 2>/dev/null +addgroup -S nagios 2>/dev/null +adduser -S -G nagios -H -h /var/nagios -s /bin/false nagios 2>/dev/null exit 0 |