I would suggest that you add to the existing logic that limits them to one session. Presumably, you have code in /etc/profile or in the users .profile to check to see if they have existing sessions. I would add something like this:
PROCESSES=`UNIX95= ps -U $USERNAME | grep -v PID |awk '{ print $1 }' | sort
-n`
for PROC in $PROCESSES
do
echo "\tKilling process $PROC"
kill $PROC
done
This way, if they do have existing processes, they will automatically terminate the previous ones and allow them to log in.
Pete
Pete