It’s actually quite easy to reset the admin account using the install CD, but what do you do if you don’t have the CD? Well there are two ways of doing it.
- This is the simple way, but only works in 10.4.x+:
- Reboot
- Hold down Apple + s down when you hear the chime (this will boot into single user mode).
- You’ll get to the text prompt….don’t panic…2 more commands and you’re done.
- Type sh /etc/rc followed by Enter.
- Type passwd substitute_user_id_here to reset the password for that account. DONE, Reboot and Login with new password.
- This is the hardway, but neat since it can potentially allow you to re-setup your mac as if the machine was brand new.
- Reboot
- Hold down Apple + s down when you hear the chime (this will boot into single user mode).
- Type mount -uw / at the command line.
- Type rm /var/db/.AppleSetupDone on the command line.
- Reboot, you’ll have to setup a new admin account now. Make sure you choose a different name for this new account. Login and move the old files over to the new account (or use migration tool to do it) and delete the old account and it’s data.
told you it was simple….
6 responses to “So you locked yourself out of your Mac….”
whats this about?!?!?
um
comment me back. my names kourtney=)
Hi Kourtney,
The article shows you how to recover your admin password on a Macintosh computer.
Hope this helps….
TTYL
Many
Nice tip.
It has been added to my folder of cool tips that resides on my Mac, which ironically, will not be accessible to me if I actually need any such tips.
Hmm…
I think I’ll copy that folder to my iPod.
Thanks, Many.
Best,
Narrator, thisguy
I don’t have a mac. BUT I LIKE THIS SITE!!!
Any help with the mac is great, that was helpful.
Thanks
as Newman would say, “Exxxcellent….”