From owner-freebsd-isp Fri Jan 10 05:59:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA12250 for isp-outgoing; Fri, 10 Jan 1997 05:59:54 -0800 (PST) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id FAA12245; Fri, 10 Jan 1997 05:59:49 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hydrogen.nike.efn.org (8.8.4/8.8.4) with SMTP id FAA14628; Fri, 10 Jan 1997 05:58:58 -0800 (PST) Date: Fri, 10 Jan 1997 05:58:56 -0800 (PST) From: John-Mark Gurney Reply-To: John-Mark Gurney To: Leonard Chua cc: freebsd-hackares@freebsd.org, freebsd-isp@freebsd.org Subject: Re: pppd and the login option In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 10 Jan 1997, Leonard Chua wrote: > Hi. I've been working on setting up a ppp dialup server. I've gotten it to > work with PAP via pap-secrets, and I'm now experimenting with it doing > PAP authentication through the system password database (by the 'login' > option). I've found that pppd keeps dying at login verification. [...] > It core dumps with a segmentation fault at the crypt() call. > To make sure that crypt() is not at fault, I made a similar copy of the > login function in a separate test file, and it works there. > I can put up the test file if anyone likes to take a look. > > Anyone have any ideas? The mailing lists show quite a few people with > problems with the login option. Maybe this is the reason. well... could you inform us to what version of FreeBSD your running? (and ident of /usr/sbin/pppd would be nice too...) I'm running pppd with the login option (plus a few local hacks) and it's running fine... I never have seen pppd seg fault there.... of course that's because I haven't seen it seg fault :)... > PS> why do I want to use the system database? Simple - I don't like > having a unencrypted password file anywhere (even if it's supposedly > group and world unreadable). plus it's also very hard for your users to change there password :) ttyl.. John-Mark gurney_j@efn.org http://resnet.uoregon.edu/~gurney_j/ Modem/FAX: (541) 683-6954 (FreeBSD Box) Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)