AutoPPP and usernames

Gert Doering (gert@greenie.muc.de)
Thu, 4 Dec 1997 08:57:56 +0100


Hi,

Chris Bond wrote:
> 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).

There's nothing mgetty can do here: when the PAP authentication is done,
mgetty has long finished its job, and has no idea who the user is. PPPD
is the only one who knows...

gert
-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-35655025    gert.doering@physik.tu-muenchen.de
.