mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 19:22:10 +01:00
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
9 lines
179 B
Bash
9 lines
179 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S -g 82 www-data 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
|