Single User Mode
If you need to get access and you don’t want to do a heap overflow thing, try single user mode first.
This is easily done by editing Grub to invoke bash at start.
If the Grub menu does not automatically display, bring up Grub.
- Press the left shift key during restart to bring up Grub.
- Edit Grub. Press e to edit the command.
- Ctrl X to boot.
To make this a permanent situation,
- Edit Grub
At the Grub boot after restart, press e to edit Grub.
- Edit the kernel line by adding my current relationship status: single 🙂 (alternately, the letter “S” could work)
- Press Enter.
- Press b to boot.
Note: If you use lilo (which I haven't seen in years) at the boot prompt type: linux S or linux (insert my relationship status here) = linux single