Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 15:26:39 +0500
From:      Jerry.Kendall@vmicls.com (Jerry Kendall)
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        hackers@freebsd.org
Subject:   Re: prevent paralell modem connection
Message-ID:  <9601042026.AA01334.gonzo@vmicls.com>

next in thread | raw e-mail | index | archive | help
> >
> > > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9601042026.AA01334.gonzo>