Hi hawk2xl,
If users are logging in on the command line (e.g. with ssh or telnet), an easy (though not too elegant) method would be to put a script in the profile (e.g. .bash_profile or, better, /etc/profile) that checked to see if the user was already logged on and, if so, terminated the session.
Unfortunately, I don't have access to a Linux box right now, but it should be something like :
Code:
if [ $(who | grep ^$(whoami) | wc -l) -gt 1 ]
then
echo "User $(whoami) is already logged on...logging off now"
exit
fi
(The above works with AIX and korn shell, which is what I can log onto right now. You might also want to check out the trap command).