Skip to content

Commit c92e38a

Browse files
Make mysql_pass more random in install.sh - closes #5098
1 parent fc127d7 commit c92e38a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [ -z "$domain_name" ]; then
4242
exit;
4343
fi
4444

45-
mysql_pass=`date +%s | sha256sum | base64 | head -c 9 ; echo`
45+
mysql_pass=`(date +%s; head -c 10 /dev/urandom;) | sha256sum | base64 | head -c 9 ; echo`
4646

4747
is_debian=`cat /etc/issue | grep -E ^Debian | wc -l`
4848

0 commit comments

Comments
 (0)