#this script will kill you!
for i in `(w | grep pts | grep -v :0.0 | awk -F " " '{print $3}')`
do
date=`date +%Y-%m-%d`
pts=` w | grep $i | awk -F " " '{print $2}' `
pid=`ps aux | grep bash | grep $pts | grep "-" | awk -F " " '{print $2}'`
read -p "You mail :" mail
if [ "$mail" = "chen_baocheng@ryoyo.com.cn" ]; then
echo " Welcome sa "
echo $date
else
echo "Sorry, you are not sa.I maust kill you! Godbye!"
kill -9 $pid
fi
done