Forget password root
Thursday, 16. April 2009
Reset password for all linux distro
1. Boot from linux live CD like knoppix
2. Mount your linux partition
3. Edit file /mount_point/etc/shadow , delete second field for user root
Ex.
#mount /mnt/hda1
#pico /mnt/hda1/etc/shadow
Change from
———————————————————-
root:$1$772TdBW0$kit5gqo1byMuLo5JdYx6U0:12549:0:99999:7:::
———————————————————-
to
———————————————————-
root::12549:0:99999:7:::
———————————————————-
4. Save and reboot. Now your root don’t have a password