How to Hack a Mac's Administrator Account Using DOS

How to Hack a Mac's Administrator Account Using DOS thumbnail
The administrator password can be reset in the Mac version of DOS, "Single User Mode."

An administrator account on a Mac computer can be password protected for security purposes, but if you forget this password, all is not lost. You can change it using the Mac version of DOS. On a Mac, this is called "Single User Mode" and provides the user with a command-prompt screen, where users can type in "commands" in order to make the computer perform tasks. You can reset your administrator password using a command in Single User Mode.

Instructions

    • 1

      Turn the computer off if it is on. Press the power button to restart it. Wait until the screen lights up.

    • 2

      Hold down the "Command" and the "S" key on your keyboard until the Mac boots into single user mode.

    • 3

      Type in the following command:

      mount -uw /

      and press the "Enter" key on your keyboard.

    • 4

      Type:

      launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist

      and press "Enter" on your keyboard.

    • 5

      Type:

      ls /Users

      to display all of the users for the computer. Double-check what the administrator username is and make a note of it.

    • 6

      Type:

      dscl . -passwd /Users/username password

      Replace "username" with the username of the administrator account. Replace "password" with the new password you would like to use for the account. Press "Enter" on your keyboard.

    • 7

      Type in the following command:

      reboot

      and press the "Enter" key to restart the computer and reset the administrator password.

Related Searches:

References

  • Photo Credit Stockbyte/Stockbyte/Getty Images

Comments

Related Ads

Featured