From owner-freebsd-questions@FreeBSD.ORG Fri Mar 23 09:19:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA05816A403 for ; Fri, 23 Mar 2007 09:19:26 +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 AA1D213C45A for ; Fri, 23 Mar 2007 09:19:26 +0000 (UTC) (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 <0JFC00HHDN89V520@osl1smout1.broadpark.no> for freebsd-questions@freebsd.org; Fri, 23 Mar 2007 10:19:21 +0100 (CET) Received: from Suria.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 <0JFC00GZFN8688C0@osl1sminn1.broadpark.no> for freebsd-questions@freebsd.org; Fri, 23 Mar 2007 10:19:21 +0100 (CET) Date: Fri, 23 Mar 2007 10:19:19 +0100 From: Kyrre =?iso-8859-1?Q?Nyg=E5rd?= In-reply-to: <6.0.0.22.2.20070321160756.02621968@mail.computinginnovatio ns.com> To: Derek Ragona , Vincent Bolinard , freebsd-questions@freebsd.org Message-id: <0JFC00GZGN8788C0@osl1sminn1.broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <6.0.0.22.2.20070321160756.02621968@mail.computinginnovations.com> Cc: Subject: Re: How to use vsftpd with wirtual users without LinuxPAM ? 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, 23 Mar 2007 09:19:27 -0000 At 22:08 21.03.2007, Derek Ragona wrote: >For so few users, you can use regular accounts with the shell set to: >/usr/bin/false > > -Derek > > >At 11:47 AM 3/21/2007, Vincent Bolinard wrote: >>Hello, >> >>I'd like to know how can I set up virtual users without pam_userdb.so >>(which is not included in OpenPAM). >> >>vsftpd needs pam_userdb.so to authenticate against the db Berkeley database. >>What else can I use ? >> >>I don't want to use MySQL because there won't be a lot of virtual >>users (< 50). >> >>Thank you for your help. >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >>-- >>This message has been scanned for viruses and >>dangerous content by MailScanner, and is >>believed to be clean. >>MailScanner thanks transtec Computers for their support. You can use htpasswd instead: htpasswd vsftpd.db Then back up your /etc/pam.d/ftpd (maybe ftp as well) and replace its content with: auth required /usr/local/lib/pam_pwdfile.so pwdfile /usr/local/etc/vsftpd.db account required /usr/lib/pam_permit.so I hope it works. Kyrre