Archive

Archive for the ‘Linux’ Category

Reset root password in Redhat

October 4th, 2005 admin No comments

(I found this when searching for an answer)

“Boot the system from CD1 of Red Hat Linux. At the prompt enter “linux rescue”. Severel dialog box appear. Press “ok” on these boxes. At the end you will get a shell prompt. In the shell prompt enter “chroot /mnt/sysimage” and next enter
“passwd”. This will ask for your new password. Enter new password. Exit from the shell by entering “exit”. Eject your

CD1 now. Now booting starts from hard drive.”

Regards,

Vadiraj Purohit
Software Engineer
India

(I tested this with Redhat 8 and it works great.)

Categories: Linux Tags: