From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 17:35:06 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 D8D87106567B for ; Sun, 6 Jul 2008 17:35:06 +0000 (UTC) (envelope-from muksyed@yahoo.com) Received: from web31507.mail.mud.yahoo.com (web31507.mail.mud.yahoo.com [68.142.198.136]) by mx1.freebsd.org (Postfix) with SMTP id 9DBD48FC19 for ; Sun, 6 Jul 2008 17:35:06 +0000 (UTC) (envelope-from muksyed@yahoo.com) Received: (qmail 77638 invoked by uid 60001); 6 Jul 2008 17:35:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=CPgDsGOON+uJrphtbnDtg/ZZ13YlGph2thu2aUFzFfmni+hNZktIiKN34HnOccPhZ2yoyYJNZx0B9x3LxKHBOByV64uq/2TL1FC0SPkj44AGYVWLqAUocWo0wbh85XAiuQLzx6Jw80nCF16SB2xAr28xwf2r7tLC0ZQtXeEsB54=; Received: from [171.66.29.73] by web31507.mail.mud.yahoo.com via HTTP; Sun, 06 Jul 2008 10:35:05 PDT X-Mailer: YahooMailRC/1042.33 YahooMailWebService/0.7.199 Date: Sun, 6 Jul 2008 10:35:05 -0700 (PDT) From: Mukarram Syed To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <654008.76835.qm@web31507.mail.mud.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 17:35:06 -0000 Hi, I am totally new to freebsd and as a Unix admin (not a freebsd unix admin though), I have to recover a lost root password from a freebsd drive. 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. Can anyone help. I have tried googling this for the past hour with no luck. Is there anyother way to do this? I can't login using single user mode though. thanks much # mukarram Mukarram Syed muksyed@yahoo.com