Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jan 1996 11:12:33 +0100
From:      "Julian H. Stacey" <jhs@vector.jhs.local>
To:        Joe Greco <>
Cc: (Gestur A. Grjetarsson),,,
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." <> 

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi, Reference:
> From: Joe Greco <> 
> > 
> > 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 H. Stacey

Want to link to this message? Use this URL: <>