you can reset the root passwd using the following:
-------------lilo boot---------------
just reboot your machine.if there is lilo boot loader then
enter linux init=/bin/sh and choose the default boot
you will get a shell this by default in read mode so change it to
"mount -o remount,rw /"
now execute "passwd" to reset the password
then execute "sync"
and never forget to remount "mount -o remount,ro /"
----------------Grub boot-----------------
if GRUB, hit 'e", then select the "kernel" line, hit "e" again, and add init=/bin/sh and. Press ENTER, and then "b" to boot. Then do the
you will get a shell this by default in read mode so change it to
"mount -o remount,rw /"
now execute "passwd" to reset the password
then execute "sync"
and never forget to remount "mount -o remount,ro /"
|