Arnav Kalra wrote:
i forgot the root password please help

Didn't Google help you out? Anyway, if your grub (the bootloader) doesn't have a password, then follow these step to delete your root password:

1. Start your computer and wait for grub to show up
2. Locate the entry to boot Fedora, and press 'e' to edit
3. You'll see a line that starts with "kernel /boot/vmlinuz....."
4. Move to the end of that line and append: "linux 1" (without the quotes, a plain 1 is also said to work)
5. Now press 'b' to boot
6. You'll boot in to run level 1. Once you get the sh prompt, edit /etc/passwd file using vi (or any other editor)
7. The first line should be for the user root:
root:x:0:0:root:/root:/bin/bash
8. Remove the 'x' character in the second field. i.e. make it:
root::0:0:root:/root:/bin/bash
9. Save and quit vi
10. Reboot your computer. Your root password will be deleted. Set a new password.

Let us know if this worked..

Syam

_______________________________________________
Fedora-india mailing list
Fedora-india@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-india

Reply via email to