Well i fell victim to the same problem. Left MBP on overnight to transfer large amount of iTunes media files from one portable external drive to another of larger capacity. X-fered about 95GB worth, didn't take all night was just late and didn't feel like sitting up for an extra hour or so. Everything fine in AM, did some work and ejected smaller drive. Shut down to do some work on Ethernet cables. Swapped a few Cat 5 & 5e's for some better Cat 5e's and a few Cat 6's to take better advantage of Giganet (T base-1000). Reconnected everything, all is good rebooted router, switches, iMac, & MBP.
Network, & iMac booted no problem, and MBP, both with OS X 10.6.5. MBP booted normally, log on prompt popped up normally, would not accept account password. Tried several times, and yes it was the correct PW and no, Caps was not on. Tried restart, wouldn't shut down. Forced power down, and restarted. All accounts were gone and was greeted with the now famous other! No UID or PW would work.
Tried several attempts at rebooting and booting from DVD install disk. Wouldn't even recognize boot disk, kept booting to Log on screen with other! No Command & Key combo would work.
Ejected Install DVD and Booted to Single user as suggested below**, Single user was not locked so I proceeded to root and recreated new Admin account as instructed. All worked so far. However there is no trace of the old accounts left anywhere. Attempting to boot into Install DVD and Restore to last Time Machine back-up to see if it restores all to what it was yesterday...
Booted into Install DVD and have started Time Machine Restore, In work, Stay Tuned!
** Re-post of Link:
http://www.hackmac.org/hacks/how-to-create-a-new-administrator-account/
Message was edited by: Rain-Man