No cleartext input password for setup nginx uwsgi ubuntu script
This commit is contained in:
@@ -19,7 +19,8 @@ done
|
|||||||
if [ "$nopassword" -eq 0 ]
|
if [ "$nopassword" -eq 0 ]
|
||||||
then
|
then
|
||||||
echo -e "Web2py Admin Password: \c "
|
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
|
fi
|
||||||
# Upgrade and install needed software
|
# Upgrade and install needed software
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|||||||
Reference in New Issue
Block a user