mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
Do not unlock use with passwd on updates. This allows the admin to disable the user without it automatically being re-enabled on upgrades.
8 lines
171 B
Bash
8 lines
171 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S -g 82 www-data 2>/dev/null
|
|
adduser -S -D -h /var/lib/gogs -s /bin/ash -G www-data -g gogs gogs 2>/dev/null \
|
|
&& passwd -u gogs 2>/dev/null
|
|
|
|
exit 0
|