From owner-freebsd-isp Tue Oct 12 13:10:19 1999 Delivered-To: freebsd-isp@freebsd.org Received: from bekool.com (ns2.netquick.net [216.48.34.2]) by hub.freebsd.org (Postfix) with ESMTP id DEED314C88 for ; Tue, 12 Oct 1999 13:10:12 -0700 (PDT) (envelope-from trouble@hackfurby.com) Received: from bastille.netquick.net ([216.48.32.159] helo=hackfurby.com ident=root) by bekool.com with esmtp (Exim 3.03 #1) id 11b8bR-0004MT-00; Tue, 12 Oct 1999 20:32:57 +0000 Message-ID: <380399E4.53AECD9A@hackfurby.com> Date: Tue, 12 Oct 1999 15:28:20 -0500 From: TrouBle Reply-To: trouble@hackfurby.com Organization: Hacked Furbies X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: James Wyatt Cc: slava revutchi , Brian Reichert , freebsd-isp@FreeBSD.ORG Subject: Re: Chroot and ~/bin, ~/etc. Better way? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org first off if the user is chrooted...... then it will not reflect on the main /etc/master.passwd it will up date the /virtual/someuser/etc/master.passwd i should have stated only to be sure and chroot to the account before you type the command .... James Wyatt wrote: > > GACK! Do *not do this! It can overwrite your *system* password file! > > You most likely want to do something like: > pwd_mkdb -d ~theuser/etc ~theuser/etc/passwd > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message