Friday, January 14, 2011

How to reset mac osx password without the installer disk

Good Morning all this is my first post of the new year and im on a quest for knowledge i have a thirst for hunger so be on the look out for more blogging from me well lets get to the matter at hand and good friend of mine needed to recover his admin password for his macbook so i decided to write This quick tutorial on how to reset your Mac OS X password without having to use an installer disc. This procedure works on leopard and snow leopard im not sure about the other releases but give it a try and see what happens. let get to it using the following steps:

1. Power on or restart your Mac.

2. At the chime (or grey screen if your chime is turned off), hold down Command+S on your keyboard to enter single-user mode.

3.This step is optional, but it’s a good idea because it checks the consistency of the hard disk before moving on. At the prompt, type fsck -fy and press Enter/Return. Wait for the checks to complete before going to the next step.

4. Type mount -uw / and press Enter.

5. Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist and press Enter.

6. Type ls /Users and press Enter. This lists all of the usernames on the computer – helpful if you don’t know or remember what these are.

7. Type dscl . -passwd /Users/username password and replace “username” with one of the users displayed in the previous step. Replace “password” with a new password of your choice. Press Enter.


8. Type reboot and press Enter.

No comments:

Post a Comment

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...