Merge pull request #1433 from BuhtigithuB/improve/ubuntu-nginx-script

No cleartext input password for setup nginx uwsgi ubuntu script
This commit is contained in:
mdipierro
2016-08-27 22:13:35 -05:00
committed by GitHub

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