SuSE root breakin

James McDonald james at jamesmcdonald.id.au
Mon May 26 15:41:30 PDT 2008


Jay Nugent wrote:
>  But I can't recall whether it had
> LVM turned on or not, and I have NO idea how to deal with LVM *if* it was
> turned on.
>   

I saved one of Kurts posts on how to mount and access LVM here

http://jamesmcdonald.id.au/faqs/others/copyDataFromFC_LVM_to_Ubuntu/copyDataFromFC_LVM_to_Ubuntu.txt

You can as loni says just append single but if you have a knoppix cd 
that works too.

Below is some of the points I noted last time I had to remove the grub 
password and reset root pw.

mount /mnt/hda2 -o remount rw


    Remove the Grub Boot Loader password option

vi /mnt/hda1/grub/menu.lst

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
# comment the password line out
# password --md5 $1$NnuIG0$82jbm.Z46rbeoNp6t3kX2/

title Fedora Core (2.6.3james1)
root (hd0,0)
kernel /vmlinuz-2.6.3james1 ro root=/dev/hda2 hdc=ide-scsi rhgb
initrd /initrd-2.6.3james1.img


    Blank the root password

To blank the root password you need to remove the 2nd field from the 
root line in /etc/shadow
vi /mnt/hda2/etc/shadow
root line before
root:$1$rjeuJQy9$XK.83dj1kAFl9yT9w.44c1:12486:0:99999:7:::
root line after
root::12486:0:99999:7:::



More information about the Linux-users mailing list