Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 15:54:13 +0200
From:      Marc Silver <marcs@draenor.org>
To:        Fabrizzio Batista <Fabrizzio.Batista@lojasobino.com.br>
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>
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
References:  <000701bfeff1$ef8cc480$65010180@lojasobino.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000717155413.O37276>