Press and hold command+s on reboot to enter single user mode
Enter the following three commands, each line is a command, remember to enter after each order to remember to press ENTER, the second line there is no space.
/sbin/mount-uaw
Rm/var/db/.applesetupdone
Reboot
After entering the above three commands, the machine will automatically restart, and then enter the system will be like just get new machines, the Welcome screen and user settings, patient set up after a new administrator user.
It is important to note that after creating a new Admin user login system, files that originally belonged to a forgotten password account may not be accessible.
Can try to change the original account password, log in with the original user name
Clove or chameleon boot, press the space, enter-S, return, enter the single-user mode, enter the following command in turn:
/root#/sbin/fsck-y (detect, if the display has modifi something, enter the above command again until OK)
/ROOT#/SBIN/MOUNT-UAW (Mount disk)
/root#rm/var/db/. Applesetupdone (delete config file)
/root#reboot (restart)
After boot select Mac startup, set up an administrator user (and forget the password of the difference), and then use the new administrator login, modify the original administrator password, restart, you can use the original administrator user login.
Questionnaireviewcontroller * view = [[Questionnaireviewcontroller alloc] init];
view.hidesbottombarwhenpushed = YES;
View.seciondid = SectionID;
View.sectionstatus = Sectionstatus;
View.messagebeans = Messagebeans;
[Self.navigationcontroller Pushviewcontroller:view Animated:yes];
Apple Mac forgot password processing