From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 21:19:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544B3106564A for ; Sun, 6 Jul 2008 21:19:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 53DC08FC17 for ; Sun, 6 Jul 2008 21:19:56 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m66LIvaZ006913; Sun, 6 Jul 2008 23:18:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m66LIuQD006910; Sun, 6 Jul 2008 23:18:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 6 Jul 2008 23:18:56 +0200 (CEST) From: Wojciech Puchar To: Mukarram Syed In-Reply-To: <654008.76835.qm@web31507.mail.mud.yahoo.com> Message-ID: <20080706231814.A6909@wojtek.tensor.gdynia.pl> References: <654008.76835.qm@web31507.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Recovering root password from a drive by mounting the cdrom X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2008 21:19:58 -0000 > I need your help! > I have booted up from a freebsd install cd 1. I have connected my freebsd drive in the system. Now I don't know how to mount the drive to edit the /etc/shadow file. > I am at the fixit prompt on the cd. IMHO mount /mnt mount /mnt/usr cd /mnt chroot . usr/bin/passwd and change the password