You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
248 B
Bash

#!/bin/bash
# Use the environment variable for the password
echo -n "Enter password to access container: "
read -s input_password
echo ""
if [ "$input_password" != "$PASSWORD" ]; then
echo "Access denied!"
exit 1
fi
echo "Access granted!"