You could do something in /etc/ssh/sshrc, as that exit is called by sshd during login and before the user gets control.
logons=`who | grep ^$USER | wc -l` if [ $logons -gt 1 ]; then .... fi Ronald van der Laan ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
