From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 14:56:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07B9016A41C for ; Fri, 15 Jul 2005 14:56:37 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5502543D45 for ; Fri, 15 Jul 2005 14:56:35 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.13.1) with ESMTP id j6FEuWn5076544 for ; Fri, 15 Jul 2005 10:56:33 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.13.1/Submit) id j6FEuWRj076543 for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 10:56:32 -0400 (EDT) (envelope-from bv) Date: Fri, 15 Jul 2005 10:56:32 -0400 From: Bill Vermillion To: freebsd-hackers@freebsd.org Message-ID: <20050715145632.GB76303@wjv.com> References: <20050715120023.5C38E16A41C@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050715120023.5C38E16A41C@hub.freebsd.org> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on bilver.wjv.com Subject: Re: How to reset root passwd FreeBSd4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 14:56:37 -0000 While normally not able to pour water out of a boot with instructions on the heel, on Fri, Jul 15, 2005 at 12:00 our dear friend freebsd-hackers-request@freebsd.org uttered this load of codswallop: > Message: 3 > Date: Thu, 14 Jul 2005 09:55:16 -0400 (EDT) > From: John Von Essen > Subject: Re: How to reset root passwd FreeBSdD4.7 > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From > there you have to manually mount the / filesystem and edit > passwd (just clear out the passwd, root::). However, do an fsck > on the device first (you may have to reboot afterwards) since if > you have any fragmentation following an unclean shutdown, you > will not be able to mount the device. Just a short comment. 'Fragmentation' has nothing to do with this. An bad shutdown fails to sync the data and thus requiring and fsck to ensure the filesystem is in an stable state. The 'fragments' you see referenced in the fsck only reference the number of files that are stored in fragments - eg not occupying a full block allocation. Bill Bill -- Bill Vermillion - bv @ wjv . com