[HOW TO] reset password MAC OS 10.11

Do you want to reset Mac's password?
Unlucky, you do not know how to do it.

Ok, no problem. Here I show you.

Solution 1:
Access Single-User mode.

a. Shutdown your computer.
b. Use hand to hold down the "Command" key and "S" key. Hold both of these together and do not let go through the next step.
c. Wait until you see a bunch of white writing scrolling by on a back screen. Now you are in Single-User mode.
d. mount -uw /
e. launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist and press [Return]
f. ls /Users and press [Return]. A list of all of the accounts on your computer will be listed
g. dscl . -passwd /Users/your_username your_password
h. Restart the computer and try the new password.

Solution 2:
Recovery mode
a. Shutdown your computer.
b. Use hand to hold down the "Command" key and "S" key. Hold both of these together and do not let go through the next step.
c. Wait until you see a bunch of white writing scrolling by on a back screen. Now you are in Single-User mode.
d. mount -uw /
e. rm /var/db/.AppleSetupDone . Remove the hidden file that trigger’s OS X to skip the setup assistant at startup:
f. type "reboot" to restart your Mac.
g. now configure with a new account (user/password)
h. after login, you can change the password of previous user.

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success


0 nhận xét:

Post a Comment