Re: Recovering root password from a drive by mounting the cdrom

2008-07-07 Thread Mukarram Syed
see what I could find. Thanks much # mukarram Mukarram Syed [EMAIL PROTECTED] - Original Message From: Manolis Kiagias <[EMAIL PROTECTED]> To: Mukarram Syed <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Monday, July 7, 2008 12:12:17 AM Subject: Re: Recovering r

Re: Recovering root password from a drive by mounting the cdrom

2008-07-07 Thread Manolis Kiagias
Mukarram Syed wrote: Thanks for this response and others. However, my problem does not look to be so simple. I boot off the install cd and get into the fixit prompt. I dmesg | less and get the device name that I think is my hard drive /dev/ad0. I fdisk /dev/ad0 and get information about 3 slice

Re: Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread Mukarram Syed
Can anyone advise. Thanks # mukarram Mukarram Syed [EMAIL PROTECTED] - Original Message From: Wojciech Puchar <[EMAIL PROTECTED]> To: Mukarram Syed <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Sunday, July 6, 2008 2:18:56 PM Subject: Re: Recovering root pass

Re: Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread Wojciech Puchar
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 c

Re: Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread David Alanis
Quoting Mukarram Syed <[EMAIL PROTECTED]>: 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 dr

Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread Mukarram Syed
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