#!/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!"