In Mac OS X Mountain Lion, you can tie your actual Apple ID to your OS X user account fairly easily. In most cases, this will be your iCloud account. There are many good reasons to do this, but this biggest is that if you ever forget your desktop login password, you can reset it via your Apple ID leaving no need to use recovery mode to reset it.
Not sure how? Follow along and we'll show you.
- From the Apple menu in the upper left hand corner, click on System Preferences.
- Under the System section click on Users & Groups.
- If you have a passcode on your desktop, complete this step. Click on the lock in the lower left corner and enter your admin password in order to make changes to this menu.
- Now under the account you'd like to tie an Apple ID to, click on Set next to the Apple ID option.
- Finally, enter your iCloud ID or Apple ID and click OK.
That's it. Your Apple ID is now tied to your Mac user account. This means if you were to ever forget your desktop password, you can use your Apple ID to reset it. Just make sure the Allow user to reset password using Apple ID option box is checked like shown in the photo below.