From owner-freebsd-questions Mon Jul 17 6:57:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 26E6B37B64D for ; Mon, 17 Jul 2000 06:57:03 -0700 (PDT) (envelope-from marcs@draenor.org) Received: from marcs by draenor.org with local (Exim 3.15 #1) id 13EBLZ-000PXd-00; Mon, 17 Jul 2000 15:54:13 +0200 Date: Mon, 17 Jul 2000 15:54:13 +0200 From: Marc Silver To: Fabrizzio Batista Cc: freebsd-questions@freebsd.org Subject: Re: How can I do to mount root filesystem in a fix-it mode ? Message-ID: <20000717155413.O37276@draenor.org> References: <000701bfeff1$ef8cc480$65010180@lojasobino.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <000701bfeff1$ef8cc480$65010180@lojasobino.com.br>; from Fabrizzio.Batista@lojasobino.com.br on Mon, Jul 17, 2000 at 10:21:36AM -0300 X-Operating-System: FreeBSD 4.0-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hey there, Here's how you can change the root passwd. This assumes that /etc isn't mounted on a seperate disk. 1) Boot into single user mode. 2) "fcsk -p" 3) "mount -u /" 4) "passwd root" That should allow you to change root's password. Good luck. Cheers, Marc On Mon, Jul 17, 2000 at 10:21:36AM -0300, Fabrizzio Batista wrote: > > Hi gurus, > > I lost the password root and single user password is enable. I canīt log > in. > > Iīm using a server with SCSI disks. Iīve tried boot whith floppy and > after mount other file systems. But I cantīt mount devices in /dev. > > Devices: da01 da02 da1 rda01 rda02 ... > > How can I do to mount my filesystems ? Thus, I will modify my > /etc/passwd. > > Thanks in advance, > > Fabrizzio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message