2008-01-18

How to reset password Cent OS 5 Installation

Boot from a centos installation cd.

Type at the boot prompt: linux rescue

choose language
choose keyboard
choose to look for an existing installation
choose mount filesystem
on the command prompt
type: chroot /mnt/sysimage
type: passwd root
type new passwd:
retype new passwd:
type: exit
type: exit

The system will reboot and you can log in!