#!/bin/bash
senha=""
while [ "$senha" != "linux123" ]
do
echo "Digite a senha:"
read senha
if [ "$senha" != "linux123" ]; then
echo "Senha incorreta! Tente novamente."
fi
done
echo "Senha correta! Acesso permitido."
To embed this project on your website, copy the following code and paste it into your website's HTML: