Skip to content
This repository was archived by the owner on Dec 20, 2020. It is now read-only.

Commit 933ef71

Browse files
authored
Update post_install.sh
1 parent e4bcc64 commit 933ef71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

post_install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ WHERE \`id\`='1';
121121
122122
ALTER USER 'roundcube_user'@'127.0.0.1' IDENTIFIED BY '$ROUNDCUBE_MYSQL_PASSWORD';
123123
ALTER USER 'mailuser'@'%' IDENTIFIED BY '$MYSQL_PASSWORD';
124-
ALTER USER 'root'@'%' IDENTIFIED BY '$ROOT_MYSQL_PASSWORD';
124+
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '$ROOT_MYSQL_PASSWORD' WITH GRANT OPTION;
125+
DROP USER root@localhost;
125126
EOF
126127

127128
# reset generate roundcubemail

0 commit comments

Comments
 (0)