I forgot the password to Mac OS X 10.5.8 - Leopard.... How can I reset it?
Once you are in single user mode you will need to do the following:
1) mount the file system as read-write
2) navigate to the /var/db directory
3) remove a special file that tells the computer it's already been set up
4) reboot the machine
5) go through the set up process to create a NEW admin account
6) log into the new admin account and reset the password on the original password via the system preferences

The details:
Boot to single user mode, then type the following:

mount -uw /
cd /var/db
rm .AppleSetupDone
reboot


At this point the system will reboot and go through the "out of the box" setup process which will allow you to create a new Admin account. The original account will be intact.

After you've created the new user account, you can go to System Preferences, Accounts (might be Users &amp; Groups, they keep changing the name!), and reset the password on the original account.

Keep in mind that if you do this you will lose all stored passwords on the original account, at least until the original owner is able to give you the old password.

Of course, as the new owner, you might want to just use the new account you create and delete the old one...