#! /bin/sh


if [ "$LOGNAME" = "$1" ]  
 then    
    printf "%s is logged in" $LOGNAME 
else    
    printf "Intruder! Intruder!\n"  
fi

