Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Father died last year and I inherited his Mac Mini. My wife has retired and we are trying to set up the mini for her use but the changes we want to make require admin access and we do not have the information my father used to set up the machine.

Is it possible to reset the admin information without having the old information? If so, how would I go about it?

I am not a Mac user usually so any guidance will have to be pretty simple!

share|improve this question
Do you know what version of Mac OS X that you are using? You can find this by going to the Apple menu at the top-right and selecting "About this Mac." – Nathan Jul 22 '12 at 23:00

There are many ways to reset the login password without installation media, here are three:

Change the password in single user mode

  1. Hold ⌘S on startup
  2. mount -uw / (fsck -fy is not needed)
  3. launchctl load /System/Library/LaunchDaemons/ (or /System/Library/LaunchDaemons/ in 10.6)
  4. dscl . passwd /Users/username (without a trailing slash) and enter a new password. You can ignore the error about
  5. reboot

Create a new admin account

  1. Hold ⌘S on startup
  2. mount -uw / (fsck -fy is not needed)
  3. rm /var/db/.AppleSetupDone
  4. reboot
  5. Go through the steps of creating a new account. You can leave all fields in the personal information step blank.
  6. After logging in on the new account, go to the Users & Groups preference pane
  7. Select the old account, press the Reset Password... button, and enter a new password

Restart and enter Recovery mode (for 10.7 Lion and newer OS only)

  1. Hold ⌘R on startup
  2. Open Terminal from the Utilities menu
  3. Type resetpassword and follow the instructions
share|improve this answer
Question: Does this work on earlier versions of Mac OSX (ie, Tiger, Leopard, or Snow Leopard, specifically)? – Matt Aug 9 '12 at 8:58
I've only tested them on 10.7, but the first method should work on 10.5 according to 10.5: Reset a user's password in single user mode - Mac OS X Hints. On 10.6 and earlier you could also reset the password from an installation medium. – user495470 Aug 9 '12 at 9:06
What about 10.4? I've got a computer running 10.4.11 and no installation media. – Matt Aug 9 '12 at 9:25
I don't know, but you don't probably need the original installation disk. Installation disks for other versions of OS X might also work. – user495470 Aug 9 '12 at 9:49
Ok, thanks. I'll try it and get back to you. – Matt Aug 9 '12 at 9:56

I'm sorry to hear about your father.

It is possible to reset the admin password to a Mac quite easily providing you have the correct install disc to match the version of the software that is running on the computer. Resetting the password does not delete any of the information on the Mac, but it will prevent you from gaining access to other passwords that are saved in the system for things like mail accounts or wifi keys that have previously been entered and saved by the original user. Once you have changed the password you will be prompted to create a new Keychain, which is the name of the place where these other passwords are saved.

Once you have admin access you can create or delete accounts. There is a support article on the Apple website with info on how to reset the password here:

If you don't have the install disc or need more help, I'd suggest booking an appointment at the Genius Bar at your local Apple Store and they will help you reset it at no charge.

share|improve this answer
  1. turn on your Mac and hold cmd+s on startup. The terminal should open.

  2. type in the following commands:

    1. mount -uw /

    2. rm /var/db/.AppleSetupDone

    3. shutdown -h now

  3. turn on your Mac and you will be able to create a new admin account.

share|improve this answer
How does this improve on the existing answer from 2012? – grgarside Mar 15 '15 at 19:21
Does this work for an internal hard disk or flash drive encrypted with FileVault2? – odysseus Jun 29 '15 at 17:24

protected by Community May 6 '15 at 23:18

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.