From owner-freebsd-questions Thu Jan 4 07:38:54 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA11249 for questions-outgoing; Thu, 4 Jan 1996 07:38:54 -0800 (PST) Received: from bsd.tseinc.com (bsd.tseinc.com [199.217.191.65]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA11243 for ; Thu, 4 Jan 1996 07:38:48 -0800 (PST) Received: from ws2.tseinc.com (ws2.tseinc.com [199.217.241.142]) by bsd.tseinc.com (8.6.11/8.6.9) with SMTP id JAA04026; Thu, 4 Jan 1996 09:38:33 GMT Date: Thu, 4 Jan 1996 09:38:33 GMT Message-Id: <199601040938.JAA04026@bsd.tseinc.com> X-Sender: jlwest@bsd.tseinc.com X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: freebsd-questions@freebsd.org From: "Jay L. West" Subject: parallel logon solution correction Sender: owner-questions@freebsd.org Precedence: bulk When my post on the parallel logon problem hit the mailing list (and copied back to me) I noticed I left out part of the statement (that's what happens when I type from memory rather than printing out the darn script :) ). The correct ppplogin script is: #!/bin/sh - if [ `who | cut -d\ -f1 | grep $(who am i|cut -d\ -f1) | wc -l` -gt 1 ]; then echo Already logged on. exit fi /usr/sbin/ppp -direct `tty|cut -d/ -f3` I inadvertently left out the grep portion (which would not make your users very happy). Sorry about the omission. Jay L. West