I'm locked out of a Red Hat Linux 5 machine and need to "break in" to reset the root password. I've done this before by interrupting GRUB and putting the machine in failsafe to get to root, but I can not remember the details. Once I stop GRUB, what do I do?
Asked
Active
Viewed 3,503 times
1 Answers
2
Booting:
- Use the arrow keys to select the kernel to boot
- Hit e to edit the command line
- Append
init=/bin/bashto that line and hit Enter - Hit b to boot
Once booted:
mount -o remount,rw /passwd
Dennis Kaarsemaker
- 19,819