Resetting MAC Password without Reset Disk

Home Forums Software Resetting MAC Password without Reset Disk

Tagged: , , ,

This topic contains 1 reply, has 1 voice, and was last updated by  Satish 5 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1248

    Satish
    Keymaster

    If you forgot the password of your MacBook, then follow these simple steps to remove it.

    mac book

    Step 1: Reboot your system holding down the Apple key(Command key) and the ‘S’ key at the same time. By doing this, you’ll get unix like command interface.

    Step 2: This way you have booted your computer as root user.

    Now the commands to reset the password:

    mount -uw /
    
    launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
    
    ls /Users
    

    (to get the username to reset if you do not know it)

    passwd username
    

    (username being the username you are resetting)

    Now type a new password, eventhough it does not show anything on the screen. Type the same password two times.

    rm -rf /Users/username/Library/Keychains/login.keychain
    
    reboot
    

    mac book air

    Not sure if it works on Mac OS versions below Leopard 10.5.x.

    #1252

    Satish
    Keymaster

    In Simple Words:

    Restart your Computer, press and hold both Apple Key and ‘S’ key.
    Once unix like interface appears, type these commands:

    mount -uw / 
    rm /var/db/.AppleSetupDone 
    shutdown -h now 
    

    Once the system restarts, your Macbook won’t ask for the password!

    Note: Make sure to type the commands as is. If you provide wrong spacing and wrong case, it wont work 🙁

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.