3 # Thanks to Kevin Wika for this shell.
5 source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
14 PASSWORDFILE=$TMP/lockup_password_file
15 LOGFILE=$TMP/lockup.log
17 read password <$PASSWORDFILE
19 echo "$(date_stringer): terminal locked" >>$LOGFILE
24 while [[ $attempt != $password ]]
26 if [ ! -z "$attempt" ]; then
27 echo "$(date_stringer): $attempt" >>$LOGFILE
35 echo -e "$(date_stringer): successful login\n" >>$LOGFILE
38 echo "Your Password has been Accepted."