mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 01:26:38 +02:00
Commitfb87e4fd62
tried to fix problem I unintentionally brought in commitccc056dbf9
- system user creation doesn't add same named group and uses nogroup as primary group unless explicitly specified via -G. Commita593d306c9
has nothing to do with it, as it only sets GECOS. I cannot blame anyone (beside myself, obviously, for all this mess) as -g and -G can be easily misread without conuslting --help output.
8 lines
277 B
Bash
8 lines
277 B
Bash
#!/bin/sh
|
|
|
|
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 -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
|