Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Mac › Macbook lost password, tried 1 trick but stuck, need help please !
New Posts  All Forums:Forum Nav:

Macbook lost password, tried 1 trick but stuck, need help please !

post #1 of 3
Thread Starter 
Hey guys, my sister bought a used mac about 6 months ago and she has lost her password.
I never really worked with a mac before, but I managed to find a certain way to change the admin password, althought I'm getting errors.

Here is the procedure I tried first :

1 Boot into single user mode (press Command-S at power on)
2 Type fsck -fy
3 Type mount -uw /
4 Type launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
5 Type dscl . -passwd /Users/username password, replacing username with the targeted user and password with the desired password.
6 Reboot


but when I try the step 4, it says "launch_msg(): Socket is not connected"...

I don't know what version the mac is, if you know a way to get that information from the single user mode since that's all I'm able to access right now.


If there is any Mac Guru here, I badly need your help, my sister has work on this laptop and she has to finish it this week-end.


*I'm not trying to hack this computer, I'm trying to retrieve/change my sister's old password, it is very important for her she has lots of things to complete prior monday.
post #2 of 3
If you care just about the data, I believe you can just fire it up in Target Disk Mode (hold T at startup) to make the HDD act like an external storage device. Hook it up to another computer through USB or FireWire and copy the contents you need off of it. If the other computer is Windows based you probably need a HFS driver though..
Corona
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 3570k @ 4.8Ghz Gigabyte Z77X-UD3H Gigabyte GTX 670 Windforce Corsair Vengeance 16GB 1866Mhz cl9 
Hard DriveHard DriveHard DriveCooling
Kingston SSDNow!+ 128GB WD Caviar Green 2TB Samsung Spinpoint F1 750GB Antec Kühler 620 
OSMonitorKeyboardPower
Windows 7 Ultimate 64bit YAMAKASI Catleap Q270 2560x1440 Logitech Internet Pro OCZ 850w Modular 
CaseMouseMouse PadAudio
Gigabyte Poseidon 310 Black Logitech G5 Zalman Z-Machine Logitech Z-10 
  hide details  
Reply
Corona
(16 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 3570k @ 4.8Ghz Gigabyte Z77X-UD3H Gigabyte GTX 670 Windforce Corsair Vengeance 16GB 1866Mhz cl9 
Hard DriveHard DriveHard DriveCooling
Kingston SSDNow!+ 128GB WD Caviar Green 2TB Samsung Spinpoint F1 750GB Antec Kühler 620 
OSMonitorKeyboardPower
Windows 7 Ultimate 64bit YAMAKASI Catleap Q270 2560x1440 Logitech Internet Pro OCZ 850w Modular 
CaseMouseMouse PadAudio
Gigabyte Poseidon 310 Black Logitech G5 Zalman Z-Machine Logitech Z-10 
  hide details  
Reply
post #3 of 3
Do exactly what you did in your previous posts, except replace step 4 with:

passwd username

Where username is the name of the account you want to change the password on.

If that doesn't work, then you can delete the .AppleSetupDone file from the /var/db/ directory. After deleting it, restart your computer and it'll launch the setup agent you see when you boot a Mac computer for the very first time. Simply create a temporary admin account, log in, and reset the password for your other account from the Users & Groups preference pane.

Due note the period at the front of .AppleSetupDone, so deleting it would be:

rm /var/db/.AppleSetupDone
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mac
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Mac › Macbook lost password, tried 1 trick but stuck, need help please !