Mac system forgot login password what to do

Source: Internet
Author: User

model: MacBook Air

System: OS X Yosemite 10.10.5

When you forget your Mac system login password, there are two main ways to solve this problem:

First: Create a new account with single-user mode

After power on, press and hold the Command+s key, enter SingleUser mode (single user), enter MOUNT-UAW/ carriage return after bash-3.2# , and then enter rm-rf/var/db/. Applesetupdone Enter, if there is no error message, the execution is successful (can be performed by performing the echo $ validation), such as:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/83/09/wKiom1dpAWyzjKK5AAIXkIJ9Orw926.jpg-wh_500x0-wm_3 -wmp_4-s_2253273554.jpg "title=" qq20160621165651.jpg "alt=" Wkiom1dpawyzjkk5aaixkij9orw926.jpg-wh_50 "/>

Enter reboot return to restart the computer, will go directly to the system installation of the initial interface (do not worry, the data in the computer is not lost!) ), all the way down, to the end of the new Administrator account to enter the system, you can go to the "System Preferences" users and groups to modify the original account.

PS: This method bypasses the system login and its password mechanism, through the login initialization, the new user account


The second type: Change the password via Recovery mode terminal

There are two ways to do this, and eventually you change the password by entering the recovery mode terminal:

1 , boot hold down the Command+r key, wait for the white Apple to appear, the progress bar read, go to " os X utility " Utilities "-" terminal " in the toolbar at the top of the screen, and then enter ResetPassword after you eject the terminal box. Reset Password box, where you can modify all account passwords, including root (super Admin), and "Reset personal folder permissions and ACLs", such as:   

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/83/09/wKiom1dpBUzAHeyMAAD9Pm_9PFg518.jpg-wh_500x0-wm_3 -wmp_4-s_2530473796.jpg "style=" Float:none; "title=" qq20160621170833.jpg "alt=" wkiom1dpbuzaheymaad9pm_ 9pfg518.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/08/wKioL1dpBU2yytC-AAF3rHddMLY719.jpg-wh_500x0-wm_3 -wmp_4-s_722197012.jpg "style=" Float:none; "title=" Qq20160621170854.jpg "alt=" Wkiol1dpbu2yytc-aaf3rhddmly719.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/83/08/wKioL1dpBU-TI83oAAF6tsYTDWo501.jpg-wh_500x0-wm_3 -wmp_4-s_2576878070.jpg "style=" Float:none; "title=" Qq20160621171056.jpg "alt=" Wkiol1dpbu-ti83oaaf6tsytdwo501.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/09/wKiom1dpBU7BaKG3AAMCTkGcalg338.jpg-wh_500x0-wm_3 -wmp_4-s_1376458140.jpg "style=" Float:none; "title=" Qq20160621170915.jpg "alt=" Wkiom1dpbu7bakg3aamctkgcalg338.jpg-wh_50 "/>

once setup is complete, restart your computer and log in to the system with your new password.

PS: After resetting the password in this way, the user's default keychain password has not changed, can click "Create new keychain" after login

2, plug in OS X installation CD or u disk, power on and hold the option key , wait for the white Apple to appear, the progress bar after reading, select OS x installation disk, you can enter the initial installation of the system interface, after the steps ibid! ( This step requires a third-party tool, and the progress bar reads slowly, so the first method is recommended )

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/83/08/wKioL1dpByCSlYJxAADSKE6WpKc628.jpg-wh_500x0-wm_3 -wmp_4-s_2818294451.jpg "title=" qq20160621172118.jpg "alt=" Wkiol1dpbycslyjxaadske6wpkc628.jpg-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/83/09/wKiom1dpBiziVpc8AADKvbBnQXo254.jpg-wh_500x0-wm_3 -wmp_4-s_1633083837.jpg "title=" qq20160621171717.jpg "alt=" Wkiom1dpbizivpc8aadkvbbnqxo254.jpg-wh_50 "/>





This article is from "Tornado" blog, please make sure to keep this source http://ruilong.blog.51cto.com/4043170/1791456

Mac system forgot login password what to do

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.