From owner-freebsd-questions Sun Mar 28 8:58:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bitey.cyber.com.au (james1.lnk.telstra.net [139.130.48.78]) by hub.freebsd.org (Postfix) with ESMTP id D78D814D6C for ; Sun, 28 Mar 1999 08:58:09 -0800 (PST) (envelope-from tetragon@cyber.com.au) Received: from cyber.com.au (yakko [203.7.155.163]) by bitey.cyber.com.au (8.9.2/8.9.1) with ESMTP id CAA03866; Mon, 29 Mar 1999 02:55:53 +1000 (EST) (envelope-from tetragon@cyber.com.au) Message-ID: <36FE5F04.4AF67F24@cyber.com.au> Date: Mon, 29 Mar 1999 02:55:32 +1000 From: Gavan McCormack Organization: Searching --- 0% done. Please stand by. X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Cc: unix@cyber.com.au Subject: spwd.db Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Anyone know where I can get a clean version of spwd.db, or how I can easily make a new (blank) one? (For FreeBSD 3.1.) I'm setting up and ftpd that is set to chroot to its own dir when it runs. (-r /usr/home/ftp) Because of the chroot, it needs to find a spwd.db in the chrooted etc dir. Naturally, I dont want to put my /etc/spwd.db in there. However doing a pwd_mkdb requires that I already have database files in there. Being database files too, if I do a pwd_mkdb over copies of ones from /etc, the data isnt overwritten. (Dont want someone getting in anonymously and getting ahold of them, and doing a strings over spwd. :) Am I missing something obvious?? -- Gavan McCormack - tetragon@cyber.com.au - tetragon@bitey.net Cybersource P/L. TCPIP network management & Unix system administration. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message