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/nagios/nagios.pre-install | |
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/nagios/nagios.pre-install')
-rw-r--r-- | main/nagios/nagios.pre-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/nagios/nagios.pre-install b/main/nagios/nagios.pre-install index 303998302..52ca32900 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 |