AutoPPP and usernames

Jonathan Hunter (hunter@cwcmultimedia.co.uk)
Fri, 5 Dec 1997 01:26:26 +0100


-----Original Message-----
From: Gert Doering <gert@greenie.muc.de>
To: chris@uk.logics.com <chris@uk.logics.com>
Cc: mgetty@muc.de <mgetty@muc.de>
Date: 04 December 1997 1908:00  
Subject: Re: AutoPPP and usernames

>> I'm using mgetty with AutoPPP and pap aut successfully at the
>> moment with the following line in login.config:
>>
>> /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap modem crtscts lock
proxyarp -detach
>>
>> I want to log the username in wtmp/utmp thats using authppp pap auth, is
>> it possible to do this?
>
>Yes -- but you'll have to add code to do that to pppd (unless it's already
>there and I just don't know about it).
>

I think the option you want in pppd's config file (or command line!) is
"login". That will have the side effect of authenticating against
/etc/passwd, but it also writes an entry to wtmp and utmp with the username
in.

You may want to comment out the /etc/passwd authentication routines in pppd,
depending on your needs.

Hope that helps,

Jonathan


.