A few words of thanks would be greatly appreciated.

MacOS - Change the admin password (no installation disk)

In this tutorial you'll learn how to change or reset the Mac admin password without the installation disk. This solution implies the the creation a new account on the Mac OS X!


The solution is to create a new admin by deleting a specific file. You need to enter terminal and create a brand new admin account:
  • 1. Reboot
  • 2. Hold Apple +S after you hear the chime (Command + S on new models).
  • 3. When you get prompted, enter these commands in order to create a new account (hitting return after each line):
  • mount -uw /  
  • rm /var/db/.AppleSetupDone 
  • shutdown -h now 
  • 4. After your Mac rebooted you should have a brand new account as administrator.
  • 5. Log-in and delete the previous admin account!

Thanks to xpcman for this tip.

A few words of thanks would be greatly appreciated.

Ask a question
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Published by . Latest update on by Jean-François Pillou.

This document, titled "MacOS - Change the admin password (no installation disk)," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).