: # checkout # clear DATE=`date` echo "Logging out $LOGNAME on $TTY at $DATE" echo "LOGOUT.$LOGNAME.$TTY.$DATE" >> /usr/adm/logins echo "\nLogout successful.\n" banner "LOGOUT" exit