From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 08:48:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF76B37B401 for ; Mon, 21 Apr 2003 08:48:20 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F59C43FB1 for ; Mon, 21 Apr 2003 08:48:20 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by rwcrmhc51.attbi.com (rwcrmhc51) with ESMTP id <20030421154819051004t7q4e>; Mon, 21 Apr 2003 15:48:19 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h3LFmIsO002074; Mon, 21 Apr 2003 11:48:18 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h3LFmIld002071; Mon, 21 Apr 2003 11:48:18 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: "none none" References: From: Lowell Gilbert Date: 21 Apr 2003 11:48:17 -0400 In-Reply-To: Message-ID: <44fzobonr2.fsf@be-well.ilk.org> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Password reset question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 15:48:21 -0000 "none none" writes: > I had a server which I haven't used in about a year, with data on it > that I'd like to access. Unforunately I forgot the root password. > I've tried the "boot -s" option but once it finishes booting it > displays "enter root password or ^D for multiuser access". (Not > bypassing the root password... I have physical access to the > machine. How can I reset or recover the password? You can't recover it. To reset it, you just have to boot FreeBSD some other way (floppy or CD are probably the best options), mount the root partition, and make your changes. Remember that the directory path won't be the same as usual, so you'll need to use the -d option to either vipw or pwd_mkdb.