3 # Thanks to Kevin Wika for this shell.
12 PASSWORDFILE=$TMP/lockup_password_file
13 LOGFILE=$TMP/lockup.log
15 read password <$PASSWORDFILE
17 echo "$(date_stringer): terminal locked" >>$LOGFILE
22 while [[ $attempt != $password ]]
24 if [ ! -z "$attempt" ]; then
25 echo "$(date_stringer): $attempt" >>$LOGFILE
33 echo -e "$(date_stringer): successful login\n" >>$LOGFILE
36 echo "Your Password has been Accepted."