WHAT IS THIS.
	
	This program is for ISP's that want to limit the number of
connections of ppp logins on tty's.

	I find this very useful specially if you are using AutoPPP
since user is not known until you fire up pppd. 


HOW IT WORKS
	
	For this to work you should invoke ppplogin instead of pppd.
ppplogin will then invoke pppd passing the parameters you passed to 
ppplogin and invoking a second program that would check if the login
exceeded the maximum allowed as stated in the ppplogin.conf usually located 
int /etc/ppp/



example of ppplogin.conf

noname  0
rodel   1
maria   3


the above example will 
   restrict noname to zero login 
   restrict rodel to one login
   restrict maria to three logins

if a user is not specified in ppplogin.conf or ppplogin does not exist
1 is used as the default max login.


HOW TO INSTALL

CONSULT FIRST the config.h file, edit it accordingly or accept the defaults
However it is important that PATH_PPPD should point to the full path of
pppd.

do the following

	make
	make install

TO USE THE SOFTWARE
 
   invoke ppplogin as if you were invoking pppd

Example:
 
  if you use
  
   /usr/sbin/pppd +pap -chap -login -debug

change that to
  
  /usr/sbin/ppplogin +pap -chap -login -debug
 
 
AUTHORS NOTE:
  
  
  I may not be held responsible for any loss or damage that might arise 
  in the use or misuse of this software.

  If you find this useful e-mail me at:

	rtviado@iligan.com


NOTE:
  
  SOME functions in this program was derived or based from GNU sh-utils
  
AUTHOR:

Rodel T. Viado
Tech Director
Iligan Global Access Network Inc.
 

   
  
