From owner-freebsd-questions Sat Jan 10 04:47:03 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA28044 for questions-outgoing; Sat, 10 Jan 1998 04:47:03 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.creative.net.au (mail.creative.net.au [203.56.168.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA28034 for ; Sat, 10 Jan 1998 04:46:53 -0800 (PST) (envelope-from adrian@mail.creative.net.au) Received: from mail.creative.net.au (localhost.creative.net.au [127.0.0.1]) by mail.creative.net.au (8.8.5/8.7) with ESMTP id UAA24156 for ; Sat, 10 Jan 1998 20:46:46 +0800 (WST) Message-Id: <199801101246.UAA24156@mail.creative.net.au> To: freebsd-questions@freebsd.org Subject: PAP logins via /etc/passwd under 2.2.5-REL .. Date: Sat, 10 Jan 1998 20:46:45 +0800 From: Adrian Chadd Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. | Then I discovered UNIX." |