Date: Sun, 6 Jul 2008 23:18:56 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Mukarram Syed <muksyed@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Recovering root password from a drive by mounting the cdrom Message-ID: <20080706231814.A6909@wojtek.tensor.gdynia.pl> In-Reply-To: <654008.76835.qm@web31507.mail.mud.yahoo.com> References: <654008.76835.qm@web31507.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <yourrootpartition> /mnt mount <your_usr_partition_if_separate> /mnt/usr cd /mnt chroot . usr/bin/passwd and change the password
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080706231814.A6909>