Hello:

With an operative system Linux RedHat 5.2 (kernel 2.0.38) we give dialin.
I am using mgetty but some users uses directly ppp (PAP) and others logon 
bye script.
The question is that I want to limitate the number of ppp session for the 
clients that uses PAP.
To do that I have compiled the pppd with the option USE_PAM=y and write the 
following sentences
on /etc/pam.d/ppp :

#%PAM-1.0
# Information for the PPPD process with the 'login' option.
auth    required        pam_nologin.so
auth    required        pam_unix_auth.so
account required        pam_unix_acct.so
session required        pam_unix_session.so
session required        pam_limits.so

and on /etc/security/limits.conf  :
#
#Each line describes a limit for a user in the form:
#
#<domain>      <type>  <item>         <value>
#
@plapiqui        hard    maxlogins       1

The problem is that with this modifications the program doesent limitate 
the number of conections for users of the group plapiqui.
Should anyone knows how to limitate the numbers of ppp sessions for dialin 
clients please contact me.

Thanks

Ing. Alejandro L. Boland
E-Mail: [EMAIL PROTECTED]
Te:   +54 (0) 291 4861700   int 224
Fax: +54 (0) 291 4861600
Km 7 Camino la Carrindanga
(8000) Bahia Blanca
ARGENTINA


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to