diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-06-06 02:05:05 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-07 07:20:09 +0000 |
commit | 3c1fa46624bd65849ace1212d16be85eea865699 (patch) | |
tree | 8241996dfaa2d0cf0ab368985a044fa8c536394a /main/nrpe | |
parent | 40521bdafd3cc0eb623df4d48d6658f32bccfdf1 (diff) | |
download | aports-3c1fa46624bd65849ace1212d16be85eea865699.tar.bz2 aports-3c1fa46624bd65849ace1212d16be85eea865699.tar.xz |
main/{npre, postgrey}: Properly set primary group in .pre-install.
Fixes the problem I unintentionally brought in commit ccc056dbf9d3:
system user creation doesn't add same named group and uses nogroup as
primary group unless explicitly specified via -G.
Diffstat (limited to 'main/nrpe')
-rw-r--r-- | main/nrpe/nrpe.pre-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/nrpe/nrpe.pre-install b/main/nrpe/nrpe.pre-install index 875a9fadce..0b519f5f4e 100644 --- a/main/nrpe/nrpe.pre-install +++ b/main/nrpe/nrpe.pre-install @@ -1,6 +1,6 @@ #!/bin/sh -adduser -S -D -H -h /dev/null -s /sbin/nologin -g nagios nagios 2>/dev/null addgroup -S nagios 2>/dev/null +adduser -S -D -H -h /dev/null -s /sbin/nologin -G nagios -g nagios nagios 2>/dev/null exit 0 |