OSX Password Removal

Via Single User Mode:

10.7 or above:

Boot to single user mode hold Command + S during booting

at terminal

# /sbin/fsck -fy

# /sbin/mount -uw /

# launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist

# ls /Users (locate user to reset)

# dscl . passwd /Users/username password

With OSX CD / USB Drive / Recovery Partition

10.6.8 or below

Boot from USB or CD of OSX

From the menu bar at the top, select Utilities > Reset Password

10.7 and above

  1. Boot while holding down the Command and R keys for Recovery Option (or boot from USB / Disc)
  2. From the menu bar at the top, select Utilities > Terminal.
  3. # resetpassword
  4. Select your hard drive, choose your user account, and enter a password.

Article by Bizanator

I'm a security researcher, pentester and general IT guru professionally since 2003. While IT and security has been a habit of mine, literally learning my ABCs on an Apple IIe I have worked on virtually every operating system in the past 25 years. Learning about memory manipulation starting in the early Blizzard days I found an affinity in security and exploit development. My career has allowed me to work in a variety of industries and have been a strong supporter of open source and virtualization. My goal here is to provide a forum of information where when you're brain dead hopefully myself or one of our members can work together in the spirit of open source and resolving those brain dead moments. You can request a consultation with me on Maven.

Leave a Reply

Your email address will not be published. Required fields are marked *