Skip to content

Commit 6fd8a6b

Browse files
committed
600 on my.cnf
1 parent ab09d14 commit 6fd8a6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/vst-install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ fi
530530

531531
mysqladmin -u root password $mpass
532532
echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf
533+
chmod 600 /root/.my.cnf
533534
mysql -e "DELETE FROM mysql.user WHERE User=''"
534535
mysql -e "DROP DATABASE test"
535536
mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"

0 commit comments

Comments
 (0)