From a835b69165330ce2160bb1349e436b7061a9e6dc Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Mon, 6 Jun 2016 02:05:12 +0200 Subject: testing/[various]: Add group and use it as primary in .pre-* scripts. 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. Brings status quo regarding primary groups of users created in packages: - testing/dbmail - testing/dspam - testing/opensips - testing/pdns - testing/qpage - testing/rrdbot - testing/wt --- testing/wt/wt.pre-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/wt/wt.pre-install') diff --git a/testing/wt/wt.pre-install b/testing/wt/wt.pre-install index b007724a0c..35ff869a34 100644 --- a/testing/wt/wt.pre-install +++ b/testing/wt/wt.pre-install @@ -1,7 +1,8 @@ #!/bin/sh addgroup -S -g 82 www-data 2>/dev/null -adduser -S -D -H -s /sbin/nologin -g wt wt 2>/dev/null +addgroup -S wt 2>/dev/null +adduser -S -D -H -s /sbin/nologin -G wt -g wt wt 2>/dev/null addgroup wt www-data 2>/dev/null exit 0 -- cgit v1.2.3