[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pppd not logging user into utmp/wtmp



Listing users logged in was working with the 'who' and 'last'
commands, but quit when I re-installed pppd/ppp-pam using the
same configuration files I previously had. 

With mgetty (which has been unchanged) I was using the
following login.config line:

	/AutoPPP/ -     -       /usr/sbin/pppd auth -chap +pap login

When that failed, I tried:

	/AutoPPP/ -    a_ppp   /usr/sbin/pppd auth -chap +pap login

However, this just lists all logins as a_ppp, not the user's
name. I'm not certain how utmp, wtmp, ppp, pam and mgetty work
together. I assume that it is pppd that is failing to log
users into either utmp or wtmp. 

>From the ppp.log below, it clearly shows the connection being
made on ttyS16 and the user's login name (maxxsign), but
that's obviously not getting logged into utmp or wtmp. 

I'm just lost at this stage. Any direction/suggestions
appreciated. 

Thank you,

Jeff Hill

-------------------------------
Debian Slink, kernel 2.0.34
pppd version 2.3, patch level 5
ppp.log:

Oct 25 16:35:18 mail pppd[17247]: Using interface ppp0
Oct 25 16:35:18 mail pppd[17247]: Connect: ppp0 <-->
/dev/ttyS16
Oct 25 16:35:18 mail pppd[17247]: sent [LCP ConfReq id=0x1
<asyncmap 0x0> <auth pap> <magic 0x8dbcd57d> <pcomp> <accomp>
]
Oct 25 16:35:18 mail pppd[17247]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x0> <auth pap> <magic 0x8dbcd57d> <pcomp> <accomp>
]
Oct 25 16:35:21 mail pppd[17247]: rcvd [LCP ConfReq id=0x3
<asyncmap 0xa0000> <magic 0x14235cc> <pcomp> <accomp> <callba
ck 0x602>]
Oct 25 16:35:21 mail pppd[17247]: sent [LCP ConfRej id=0x3
<callback 0x600>]
Oct 25 16:35:21 mail pppd[17247]: rcvd [LCP ConfReq id=0x4
<asyncmap 0xa0000> <magic 0x14235cc> <pcomp> <accomp>]
Oct 25 16:35:21 mail pppd[17247]: sent [LCP ConfAck id=0x4
<asyncmap 0xa0000> <magic 0x14235cc> <pcomp> <accomp>]
Oct 25 16:35:21 mail pppd[17247]: sent [LCP EchoReq id=0x0
magic=0x8dbcd57d]
Oct 25 16:35:21 mail pppd[17247]: rcvd [PAP AuthReq id=0x1
user="maxxsign" password="george"]


Reply to: