From owner-freebsd-hackers Thu Jan 4 12:23:52 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA01263 for hackers-outgoing; Thu, 4 Jan 1996 12:23:52 -0800 (PST) Received: from bigbird.vmicls.com (bigbird.vmicls.com [198.17.96.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA01245 for ; Thu, 4 Jan 1996 12:23:44 -0800 (PST) Received: from gonzo by bigbird.vmicls.com (8.6.12/SMI-4.1-vmicls-master-host-1) id PAA22854; Thu, 4 Jan 1996 15:26:42 -0500 From: Jerry.Kendall@vmicls.com (Jerry Kendall) Organization: VMI Communications and Learning Systems Received: by gonzo (5.0/vmi-client-host-1) id AA01334; Thu, 4 Jan 1996 15:26:39 +0500 Date: Thu, 4 Jan 1996 15:26:39 +0500 Message-Id: <9601042026.AA01334.gonzo@vmicls.com> To: joerg_wunsch@uriah.heep.sax.de Subject: Re: prevent paralell modem connection Cc: hackers@freebsd.org X-Sun-Charset: US-ASCII Sender: owner-hackers@freebsd.org Precedence: bulk > > > > > 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 ? > > I think hacking on /usr/bin/login wouldn't be that complicated, either. I would be willing to modify the code for /usr/bin/login if it was generally wanted.... I think some thing like this would work... if the user is logged in(ie: wtmp entry exists) refuse entry with some message else let user in.... This would imply having a file that specifies who is restricted to a single login... 'login' can read this file and if the user calling has an entry in this file, only let them in 1 time... It could be further improved to also specify how many concurrent times a user is allowed to call in... eg: peter:1 joe:3 tammy:1 This would allow peter and tammy to be logged in only once, but, joe could be logged in 3 times... All other users will be unrestricted. Please send comments to jerry@kcis.com I am changing jobs this weekend... KCIS.COM is at home... Jerry Kendall jerry@kcis.com