From owner-freebsd-isp Sat Feb 17 6:27:32 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by hub.freebsd.org (Postfix) with ESMTP id 1E65F37B65D for ; Sat, 17 Feb 2001 06:27:26 -0800 (PST) Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with esmtp (Exim 3.22 #1) id 14U8Kb-00060e-00; Sat, 17 Feb 2001 15:27:25 +0100 Received: from b853a.pppool.de ([213.7.133.58] helo=Magelan.Leidinger.net) by mx2.freenet.de with esmtp (Exim 3.22 #1) id 14U8KZ-0006nR-00; Sat, 17 Feb 2001 15:27:24 +0100 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.2/8.11.2) with ESMTP id f1HBev325313; Sat, 17 Feb 2001 12:40:58 +0100 (CET) (envelope-from netchild@Leidinger.net) Message-Id: <200102171140.f1HBev325313@Magelan.Leidinger.net> Date: Sat, 17 Feb 2001 12:40:54 +0100 (CET) From: Alexander Leidinger Subject: Re: ftpd[1052]: /etc/pwd.db: No such file or directory To: jefffbsd@hotmail.com Cc: isp@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Magelan.Leidinger.net id f1HBev325313 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 16 Feb, Jeffrey Sewell wrote: > Yes I use chroot for about 25 accounts. I think I know where you're go= ing=20 > with this one :) Still would like your opinion. This didn't work with a ftpchroot which uses the @group syntax: ---snip--- #!/bin/sh # quick hack! for i in $(cat /etc/ftpchroot); do dir=3D"$(grep "${i}" /etc/passwd | awk -F : '{print $6}')" if [ ! -f ${dir}/etc/pwd.db ]; then echo "Missing etc/pwd.db for user =BB${i}=AB in =BB${dir}=AB." fi done ---snip--- Bye, Alexander. --=20 Loose bits sink chips. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint =3D C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message