Date: Fri, 05 Jan 1996 11:12:33 +0100 From: "Julian H. Stacey" <jhs@vector.jhs.local> To: Joe Greco <jgreco@brasil.moneng.mei.com> Cc: gestur@islandia.is (Gestur A. Grjetarsson), freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, admin@islandia.is Subject: Re: prevent paralell modem connection Message-ID: <199601051012.LAA00553@vector.jhs.local> In-Reply-To: Your message of "Wed, 03 Jan 1996 11:27:05 CST." <199601031727.LAA13230@brasil.moneng.mei.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference: > From: Joe Greco <jgreco@brasil.moneng.mei.com> > > > > If so, is there a way to prevent people to be able to get connection on > > the system from two or more places at one time, like if users share their > > accounts, taking two modems and only paying for one account ? > > Sure. Stick a "cron" job in to count the number of times that a user is on > a tty line. Think about something like: > > #! /bin/sh - > > This is of course very simplistic but could be effective if run out of cron, > > This is simpler than the network/X11 pty case, of course.. ;-) > The solution reminds me of the games-user killer I wrote in sh in 1978 on V6, (to zap users playing games, to free ttys for programmer friends), simple but effective, but occasionally went wrong during development, & consumed processor resources. I know of a local ISP here (not FreeBSD I guess) who has some kind of `single line only' login facility (no names, to preserve the innocent ;-) I'm sure one could hack login.c to do a nicer solution, in fact if someone waved real money at me I would :-) Julian -- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601051012.LAA00553>