mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 10:24:46 +02:00
Fixes the problem I unintentionally brought in commit ccc056dbf9
:
system user creation doesn't add same named group and uses nogroup as
primary group unless explicitly specified via -G.
6 lines
136 B
Bash
6 lines
136 B
Bash
#!/bin/sh
|
|
|
|
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
|