Recover from a single-user password-protected boot: “I recently was faced with a hanging login window on boot. After reading, it seemed the netinfo db was correcupt and I needed to boot single-user to fix it.
When I tried, it was asking for a password. Using the install disk to…”
(Via Mac OS X Hints.)