diff options
author | Daniel Black <daniel@mariadb.org> | 2021-06-03 13:54:32 +1000 |
---|---|---|
committer | Anel Husakovic <anel@mariadb.org> | 2021-07-06 11:08:57 +0200 |
commit | 087798c33457eb00fe9cd2c18c8b9e7f4d0cfb6f (patch) | |
tree | 26d4493f273fc5cd0e9a1344c20a8179e1b90477 | |
parent | 7f39d46086f789a500b37540a2278d17ec6189c8 (diff) | |
download | mariadb-git-087798c33457eb00fe9cd2c18c8b9e7f4d0cfb6f.tar.gz |
fix: do not disable echo on read username
-rw-r--r-- | scripts/mysql_secure_installation.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/mysql_secure_installation.sh b/scripts/mysql_secure_installation.sh index 60c8b4488f1..3858ba647d8 100644 --- a/scripts/mysql_secure_installation.sh +++ b/scripts/mysql_secure_installation.sh @@ -283,11 +283,9 @@ get_user_and_password() { status_priv_user=1 while [ $status_priv_user -ne 0 ]; do if test -z "$user"; then - stty -echo echo $echo_n "For which user do you want to specify a password (press enter for $USER): $echo_c" read user echo - stty echo if [ "x$user" = "x" ]; then emptyuser=1 emptypass=1 |