Mail archive
alpine-aports

[alpine-aports] [PATCH] Explicitely specify the group when creating the dovecot users

From: Pierre Jaury <pierre_at_jaury.eu>
Date: Sun, 29 May 2016 12:44:15 +0200

---
 main/dovecot/dovecot.pre-install | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main/dovecot/dovecot.pre-install b/main/dovecot/dovecot.pre-install
index e3ee636..213a6a6 100644
--- a/main/dovecot/dovecot.pre-install
+++ b/main/dovecot/dovecot.pre-install
_at_@ -2,7 +2,7 @@
 
 addgroup -S dovecot 2>/dev/null
 addgroup -S dovenull 2>/dev/null
-adduser -S -u 90 -D -H -h /dev/null -s /sbin/nologin -g dovecot dovecot 2>/dev/null
-adduser -S -u 91 -D -H -h /dev/null -s /sbin/nologin -g dovenull dovenull 2>/dev/null
+adduser -S -u 90 -D -H -h /dev/null -s /sbin/nologin -G dovecot -g dovecot dovecot 2>/dev/null
+adduser -S -u 91 -D -H -h /dev/null -s /sbin/nologin -G dovenull -g dovenull dovenull 2>/dev/null
 
 exit 0
-- 
2.8.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun May 29 2016 - 12:44:15 GMT