Reset an OSX 10.6 Snow Leopard user’s Password Without a CD
Posted by Tanner Williamson in All Posts, How 2.0 | 33 comments
If you have lost a password to an OS X user account on your Apple Macintosh, this will help you reset it. This guide works for all apple computers including but not limited to MacBook, MacBook Pro, iMac, Mac Mini, Mac Pro, and MacBook Air.
-
Start by having your computer shut off.
Power it on, and hold Command (Apple Button) + S at the same time.
- Soon you’ll see the computer booting up with lots of lines of code scrolling by. When it comes to a rest, type the following.
/sbin/fsck -y
/sbin/mount -uaw
- Now we’ll get a list of the users on the computer based on their home directory. Type:
cd /Users/
ls
-
When you see the folder name (99% of the time this will usually match the user on the system, unless you’ve renamed the account afterwords) of the user you want to reset, type the passwd command. Assuming that my account name was john, I’d type the following:
passwd john
Substitute john for the username you wish to reset.
You’ll now be prompted to enter a new password for john twice. Once to enter it, the second time to confirm.
- After this is done, type:
reboot
You can now login to that user account with the new password.
Updates
2011-08-24: HTML error fixed causing vital information in step one to be omitted from view.