mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 05:12:18 +01:00
Now all invocations have following order of arguments (if present):
addgroup -S -g ... GROUP
adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
9 lines
197 B
Bash
9 lines
197 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S -g 82 www-data 2>/dev/null
|
|
adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin \
|
|
-g thttpd thttpd 2>/dev/null
|
|
addgroup thttpd www-data 2>/dev/null
|
|
|
|
exit 0
|