Mac Forgot login password solution start up, press "cmd + S" at startup ". At this time, you will enter the Single User Model and a prompt like DOS # root> will appear. Enter the Shell code fsck-y mount-uaw/rm/var/db/under # root> (note space, case sensitive /. next to AppleSetupDone reboot, the Apple Computer will restart and a welcome page will appear after the startup. You need to create a new Administrator Account (the data will be retained) Just as you did when you started the Apple Computer for the first time ). After the system is started, open the system pre-fabricated account under the new Administrator. Open the bottom lock. When the Password box is displayed, enter the new Administrator account password. At this time, you will see at least two accounts, including the new Administrator account and your original account. You can click the original account, select password-Change Password. Note that you can directly set a new password without having to have the original password. The next step is to click the login option below (Small House ). Select automatically log in as the right identity, and select your original account from the drop-down menu. After restarting or canceling the logon, you can use the new password to log on to the original account. Of course, you can also delete the newly created account.