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