Ew. No idea what I did, but all of a sudden, I couldn't log into one of my Ubuntu (10.04 LTS) boxes.
- Reboot the jerk.
- Hold shift to get your Grub menu.
- Find the kernel line (see link) and add - to the end of that line:
- Hit ctrl-x to boot.
When you get in:
mount -rw -o remount /
Then reset the password on one of your admin users by
passwd username and you're golden. Just
reboot and everything should work again. I hope. :)