eEcho blog

A journey of a thousand miles starts with a single step.

Debian root password reset

Boot from any emergency boot/root disk set. (SystemCD, rescue cd). If /dev/hda3 is the original root partition, the following will let one edit the password file juist as:

#mkdir fixit
# lvm vgchange -a y
# lvdisplay
#mount /dev/debain/root fixit
#cd fixit/etc
#vi passwd

show all dev

Comments are closed.