[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [suse-security] password recovery
> -----Original Message-----
> From: Lars Ellenberg [mailto:l.g.e@xxxxxx]
> Sent: 26 July 2004 18:59
> To: suse-security@xxxxxxxx
> Subject: Re: [suse-security] password recovery
>
>
> > And what if I use LVM? how do I mount root manually?
>
> it has been mentioned several times:
> at the (grub,lilo,whatever) boot promt, you can say init=/bin/bash (or
> sash, or whatever). you then only need to
> mount -o remount,rw /; passwd ; mount -o remount,ro ; reboot -f
> so what?
If the root partition is in LVM then you'll also need to run the LVM
commands (pvscan etc, can't remember, I'll look at my notes in the morning)
to see this partition. This is the main reason I use:
/dev/sda1 /boot ext2
/dev/sda2 swap
/dev/sda3 / reiserfs
/dev/sda4 extended partition
/dev/sda5 LVM partition
Makes /boot and / trivial to access, assuming I have a boot disk
with the megaraid2 driver available.
Tom.
--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here