How do I reset my macbook pro password if I for...
How do I reset my macbook pro password if I forgot it?
Welcome to Apple Support Communities
There are different ways of resetting your password depending on the OS X version you are using.
If you have Mac OS X 10.6 or earlier, see "Resetting your original administrator account password" > https://support.apple.com/kb/HT1274
If you have OS X 10.7 or 10.8, first try the steps to reset your password with the Apple ID you can find in the site above. If it doesn't work, follow these steps > https://discussions.apple.com/docs/DOC-4101
Forgot Your Account Password
For Snow Leopard and earlier
Mac OS X 10.6- If you forget your administrator password
For Lion/Mountain Lion
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see Reset a Mac OS X 10.7 Lion Password and
OS X Lion- Apple ID can be used to reset your user account password.
If you are unable to boot from an installer DVD:
(these will only work on Leopard or earlier)
1. Boot to Safe Mode by restarting and after the chime press and hold down
the COMMAND-S keys until a black screen with white type appears.
2. At the prompt, type the following commands pressing return after each
command line:
/sbin/fsck -yf
If you do not receive a "Filesystem OK" message then repeat this command
until you do. If after seven tries you still do not receive a "Filesystem OK"
message, then the system is corrupted and needs to be reinstalled.
mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
rm ../.AppleSetupDone
shutdown -r now
The second-to-last command above will cause OS X to think that the operating system is newly installed, and when the new owner starts up the computer it will send him/her to the startup wizard where he/she can start a new user without reinstalling.
This last method does not actually change a password. It simply removes the user accounts and lets you create an initial admin account as if the computer were new out of the box.
Reset Admin Password Using The Terminal
You can reset the password by printing out (or writing down) and carefully following these steps.
First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what the directory is called in the Users folder.
Now, start in Single-user Mode. It should boot into a command line.
Enter these exact lines. Press RETURN after each.
mount -uw /
ifconfig lo0 up
cd /var/db/netinfo
netinfod -s local
Now you'll need that short name. Enter "passwd", a space, and the short name of the admin. For example, if the admin was rather prosaically called "imadmin", you would enter "passwd imadmin".
The computer will now prompt you to change the password for "lmadmin" (or whatever the short name was). Go ahead and enter a new password.
Now, enter:
sync
reboot
and the machine will reboot. The admin password should now be changed.
Another Terminal Method for Snow Leopard
Reboot the computer and hold the COMMAND and S keys down to enter single user mode. (If a lock appears and a password request, there is a firmware password. You have to know it or take it to Apple.)
When the prompt appears type the following command lines pressing RETURN after each:
fsck -fy
If you do not receive a "Filesystem OK" message then repeat this command
until you do. If after seven tries you still do not receive a "Filesystem OK"
message, then the system is corrupted and needs to be reinstalled.
mount -uw /
ls /Users
passwd username
Enter the new password twice. It will not be echoed.
If this works then you will have to make modifications to your Keychain. See:
https://support.apple.com/kb/HT1631
https://support.apple.com/kb/TS1544
My MacBook Pro wouldn't take password so I went to iCloud and changed it on iPhone then tried again on mac but still won't open
最后更新:2017-10-27 14:28:33
上一篇:
Macbook Flashing Question Mark backup migration...
下一篇:
How to download Foxtel Go app to MacBook Pro
Your Purchase Could Not Be Completed. For assis...
Connect to windows 10 shared folder
I cracked my 15" retina display
printing iPhone pics from MacBook air
iPad pro screen clicking/popping when pressed i...
how to change iCloud account on iPhone, without...
Ipad mailboxes
is the omnidisksweeper safe
macbook pro won’t restart after installin...
how can I go back to os x sierra from os x high...
相关内容
"com.apple.installer.pagecontroller error
any idea what error 3503 is?
Underallocation Detected on Main device
The operation couldn’t be completed. (BKA...
is ctoid.exe a virus on my ipad safari browser?
iTunes Error: Declined to authorize this image ...
Keep High Efficiency Original if Available Chec...
iTunes 12.7 cannot edit playlist
High Sierra Stuck & Decryption paused
Need to unlock iphone 5 to reactivate the phone...
热门内容
Christian Music Removed From Itunes
I'm being billed twice every month for Apple Mu...
iMac running slow
Fix disappearing album art after moving iTunes
Activation Locked iWatch
Can I change the iwatch to miles instead of kil...
I keep seeing the "You don't have permission to...
can't read any menus macbook air
iPad 2, iOs9.3, taking days to restore
charges made under itune memeberships