From b94d03948eb6ff0670bf5f9066b5c769a1b058a5 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Mon, 21 Jul 2014 16:24:34 +0530 Subject: [PATCH] fix garbage mysql passord in easy install script --- install_scripts/setup_frappe.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_scripts/setup_frappe.sh b/install_scripts/setup_frappe.sh index bc2082d4..1061450c 100644 --- a/install_scripts/setup_frappe.sh +++ b/install_scripts/setup_frappe.sh @@ -116,7 +116,8 @@ configure_mariadb_centos() { # Required only for CentOS, Ubuntu and Debian will show dpkg configure screen to set the password if [ $OS == "centos" ]; then echo Enter mysql root password to set: - read -s MSQ_PASS + read -t 1 -n 10000 discard + read -p "Enter mysql root password to set:" -s MSQ_PASS mysqladmin -u root password $MSQ_PASS fi }