You didn't say what bootloader you are using (most likely GRUB), but with LILO you can type 'linux single' at the boot prompt, and with GRUB you can press 'e' and add 'single' to the end of the line that starts with "kernel". Hit 'b' to keep booting. Once you're in you can reset your password using the 'passwd' command.
ChrisP