From owner-freebsd-questions Mon Oct 4 10:46: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sasknow.com (h139-142-245-96.ss.FiberONE.NET [139.142.245.96]) by hub.freebsd.org (Postfix) with ESMTP id 8FA2F14BF5 for ; Mon, 4 Oct 1999 10:46:00 -0700 (PDT) (envelope-from freebsd@sasknow.com) Received: from sasknow.com (ntstn [10.0.0.2]) by sasknow.com (8.9.3/8.9.3) with ESMTP id LAA09680; Mon, 4 Oct 1999 11:45:55 -0600 (CST) (envelope-from freebsd@sasknow.com) Message-ID: <37F8E80E.BDF497B2@sasknow.com> Date: Mon, 04 Oct 1999 11:46:54 -0600 From: "Ryan Thompson [FreeBSD]" X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: trouble@hackfurby.com Cc: freebsd-questions@freebsd.org Subject: Re: ~/bin, ~/etc for chroot'd users References: <37F840FA.5DB1D3A7@hackfurby.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG TrouBle wrote: > > ummmm are you chrooting every user and creating them their own bin/etc > dirs ??? i think i might have a sweet solution for you! > Great! Would you care to let the list in on this sweet solution of yours? :-b - Ryan > Ryan Thompson wrote: > > > > Hi everybody; > > > > I'm just wondering what the best practice is for the content in the bin/ > > and etc/ directories in home directories of users for which chroot is run. > > (Both through ftpd, and just regular login shells). Users come and go on > > my system with some frequency, and I have a fair number of them. What is > > the best way to maintain the content in the etc/ directories of users for > > which chroot is run? (In particular, the pwd.db and groups files, as well > > as *motd (which change from time to time)). > > > > Is there a standardized script that I can use with pwd_mkdb to auto > > install these files into all users' home directories? Or, am I on my own > > to hack something together to suit my tastes? > > > > Thanks for any input! > > > > - Ryan > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message