How to disable multiple login temporary
How to disable multiple login temporary from users profile
please help me i am new for unix environment.
i have tried with this script but not working
if [ "$LOGNAME" != "root" ]
LINES=`who | grep -c $LOGNAME `
if [ "$LINES" -gt "1" ]
echo "Already logged in!"