AIX doesn't have individual login controls to do that, but because it has an extensible login validation architecture you can create a script and set it up in the auth1 attribute for the users.
Try searching the help system for the file /etc/security/login.cfg... I've set up login controls by IP using a script and some little text files.
You need to put something ( thoroughly tested) in /etc/profile. Use the count variable to limit the number of sessions per user...
something like
count=`who | grep $LOGIN | wc -l`
if [ $count >= 2 ]
then
echo "you are already logged in elsewhere. Please log out of there
and re-login"
sleep 10
exit 0
fi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.