mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 01:26:38 +02:00
adduser automatically copies /etc/skel/* to the create home directory and also creates it with mode 755. That's why it should be created by the package, not pre-install script.
6 lines
137 B
Bash
6 lines
137 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S mysql 2>/dev/null
|
|
adduser -S -D -H -h /var/lib/mysql -s /sbin/nologin -G mysql -g mysql mysql 2>/dev/null
|
|
|
|
exit 0
|