From owner-freebsd-questions@FreeBSD.ORG Fri May 12 16:45:41 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 943DF16AA85 for ; Fri, 12 May 2006 16:45:41 +0000 (UTC) (envelope-from kyrreny@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C17D43D69 for ; Fri, 12 May 2006 16:45:40 +0000 (GMT) (envelope-from kyrreny@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IZ500ANYVW3G590@osl1smout1.broadpark.no> for questions@freebsd.org; Fri, 12 May 2006 18:45:39 +0200 (CEST) Received: from urban.broadpark.no ([80.203.212.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IZ500C93VW2G590@osl1sminn1.broadpark.no> for questions@freebsd.org; Fri, 12 May 2006 18:45:39 +0200 (CEST) Date: Fri, 12 May 2006 18:45:39 +0200 From: Kyrre Nygard In-reply-to: <20060510163646.GE20941@ayvali.org> To: "N.J. Thomas" Message-id: <7.0.1.0.2.20060512184519.021b0c50@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <7.0.1.0.2.20060510172936.021f1e30@broadpark.no> <7.0.1.0.2.20060510181801.02200c70@broadpark.no> <20060510163646.GE20941@ayvali.org> Cc: questions@freebsd.org Subject: Re: pam_userdb.so: Where is it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 16:45:42 -0000 At 18:36 10.05.2006, N.J. Thomas wrote: >* Kyrre Nygard [2006-05-10 18:18:23 +0200]: > > > > Does anybody know where pam_userdb.so has gone? > > > > > > FreeBSD doesn't appear to have ever had it, so it hasn't "gone" > > > anywhere. The thread you linked to below suggests exactly that. > > > > > > > > > You could download the source and try and build it. > > > > That's a real good advice. I'll see what I can do with it ... > >Kyrre, > >More info for you, digging through the archives came up with this: > > >http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/117922.html > >Quoting: > > > > There's no pam_userdb.so available for FreeBSD. You could use > > > pam_pwdfile.so, which is in the ports-collection. Users are > > > added/changed e.g. through htpasswd. Works well if you have not a lot of > > > accounts. > > > > > > a simple vsftpd.pam could look like this: > > > > > > auth required /usr/local/lib/pam_pwdfile.so pwdfile /etc/vsftpd_login > > > account required /usr/lib/pam_permit.so > > > > > > Just to let you know that worked a treat > >hth, >Thomas > >-- >N.J. Thomas >njt@ayvali.org >Etiamsi occiderit me, in ipso sperabo >_______________________________________________ Thank you so much man. This worked wonders for me :) All the best, Kyrre