

If you have issues with the above approach, try the following command sequence with newer versions of Mac OS X. Changing Admin Password in OS X Lion, Mountain Lion, and laterįor users with OS X 10.7.3 and later, including OS X 10.8+ Mountain Lion, there may need to be an additional step to load open directory. That is standard practice in the command line world. Note that a password will not be visibly typed when using the ‘passwd’ command, it looks as if nothing is being entered at all.

The next command mounts the root Mac OS X drive as writable, allowing you to make changes to the filesystem:.The first command checks the Mac OS X filesystem for errors and fixes them, it can take a few minutes to run:.You’ll see a note where Mac OS X tells you that you need to run two commands in order to make filesystem changes, this is necessary so let’s handle that first.Reboot the Mac and hold down Command+S at boot to enter into the command line. First you need to enter Single User Mode.This is a multistep process but it’s easy to follow: Change an Admin Password in Mac OS X Single User Mode
