No cleartext input password for setup nginx uwsgi ubuntu script

This commit is contained in:
Richard Vézina
2016-08-24 15:47:46 -04:00
parent e87378b07f
commit 2a3f90a30f
+2 -1
View File
@@ -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