7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
getent group mysql || /usr/sbin/groupadd -r mysql
|
||
|
getent passwd mysql || /usr/sbin/useradd -r -g mysql -d /var/lib/mysql -s /bin/false mysql
|
||
|
/usr/bin/passwd -l mysql
|
||
|
|