Thanks all.

I added

username    *    ""            # disallowed user
*    *    "" x.y.z.0/24        # this allows everyone else in

to pap secrets (coz I use the login directive in pppd) and because there is no
ip address assigned to the user they are disallowed login.

if I neglected to put in  *    ""    in the pap-secrets file, the user is still
allowed access.


Ray Olszewski wrote:

> What are you doing now? The man page for pppd describes pretty clearly how
> to use pap-secrets in conjunction with the login option to do what you want.
> If this is not working for you, how is it failing?
>
> At 05:21 AM 4/20/99 +1000, Graeme Lee wrote:
> >I'm using mgetty with pap authentication - no shell is used ever.  once
> >mgetty had determined an incoming ppp (win95 etc) call, it's handed over to
> >pppd to do the authentication.
> >
> >How do I prevent some users having dialin access and disallow others?
>
> ------------------------------------"Never tell me the odds!"---
> Ray Olszewski                                        -- Han Solo
> 762 Garland Drive
> Palo Alto, CA  94303-3603
> 650.328.4219 voice                              [EMAIL PROTECTED]
> ----------------------------------------------------------------


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

Reply via email to