How to get in a Macbook Pro without an account
Posted November 2, 2010on:
I was using a Macbook Pro from work. It belonged to someone else at some point but I can restart and it goes into the account without asking any password. Since the previous owner has already left the company, i did not bother to ask her password. However, yesterday, I was installing git and it asked for the password and i don’t have it. Thus the question as the title.
I went back to search for the original packaging for the macbook pro hoping to find an installation cd. Unfortunately, I cannot. I found an installation cd from another box. But Apple woould not let me use it on this machine. I searched Apple’s website and they say I can request a replacement cd for the machine at the cost $60 to $120. Outrageous.
After googling, here is the solution to reset os x password without an os x cd.
To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account.
2. Hole Apple + s down after you hear the chime.
3. When you get text prompt, enter in these terminal commands to create a brand new admin account
3.1 > mount -uw /
3.2 > rm /var/db/.AppleSetupDone
3.3 > shutdown -h now
4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and you are good to go.
After this, the old account is still on the harddisk and you can become root and access files left there.
If you feel your machine then is so vulnerable, then you can turn off this capability by following this.