Date: Sat, 10 Jan 1998 20:46:45 +0800 From: Adrian Chadd <adrian@creative.net.au> To: freebsd-questions@freebsd.org Subject: PAP logins via /etc/passwd under 2.2.5-REL .. Message-ID: <199801101246.UAA24156@mail.creative.net.au>
next in thread | raw e-mail | index | archive | help
Hi. I'm having some fun with pppd and PAP. Under linux, if you put 'login' on the pppd line, it would PAP authenticate via /etc/passwd entries, which is nice and great. It doesn't need/check /etc/ppp/pap-secrets. Under FreeBSD 2.2.5-REL's pppd however (and the ones I've compiled) it NEEDS /etc/ppp/pap-secrets there. And it won't authenticate from /etc/passwd . However a -current pppd (2.2.0b3) from a few months ago seems to exhibit the linux behaviour, which is what I'm after. But its lovely 16-char usernames doesn't agree with 2.2.5-REL it seems :) When I try compiling pppd 2.3.2 (it needs source tweaking in sys-bsd.c to compile, hrm..) it wants to check pap-secrets. Does anyone know how to make pppd actually LISTEN to 'login' as a parameter and not read /etc/ppp/pap-secrets? If you say RTFM, I'll understand :) However I need an answer to this now, as its damn urgent. Thanks, Adrian -- Adrian Chadd | "I used to be thin, handsome and smart. <adrian@creative.net.au> | Then I discovered UNIX." |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801101246.UAA24156>