From 2a3f90a30fe6ec5d8548617b10d65638da5ce07c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20V=C3=A9zina?= Date: Wed, 24 Aug 2016 15:47:46 -0400 Subject: [PATCH] No cleartext input password for setup nginx uwsgi ubuntu script --- scripts/setup-web2py-nginx-uwsgi-ubuntu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh b/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh index 4755081b..3669f055 100644 --- a/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh +++ b/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh @@ -19,7 +19,8 @@ done if [ "$nopassword" -eq 0 ] then echo -e "Web2py Admin Password: \c " - read PW + read -s PW + printf "\n" # fix no new line artifact of "read -s" to avoid cleartext password fi # Upgrade and install needed software apt-get update