Subscribe to MacYourself via RSSSubscribe to MacYourself via EmailFollow MacYourself on Twitter
Mini Displayport to HDMI adapter from Amazon.com

How to reset your Mac OS X password without an installer disc

How to reset your Mac OS X password without an installer disc

Let’s say you totally forgot the password to log on to your Mac. Or maybe you purchased a used Mac from someone else and they’ve got it locked down. There are numerous ways to reset a password with no OS X discs.

This tutorial may ruffle some feathers, but it addresses a topic that a ton of people ask about all the time. Yes, it’s startling to think that anyone could theoretically walk up to your computer and gain access within minutes. Before you go thinking that Mac OS X has a severe vulnerability that makes it less secure than other operating systems, think again. Anyone with physical access to your machine (whether it is Windows, Linux, or Mac) can eventually find a way in if they know what they’re doing. There are ways of bypassing nearly any security measure when a hacker is literally sitting right in front of your system.

The information here has previously been made available from many different sources online and is presented with the intention of helping people with legitimate reasons for resetting their Mac OS X password. A few of the methods floating around the Mac community have been compiled here in one easy-to-reference place. System admins responsible for supporting entire organizations and users who bought used Macs are the folks most likely to benefit from this.

Important Note:
This tutorial was written for Mac OS X 10.4, 10.5 and 10.6. Please check out the updated version of this post if you’re trying to reset the password on a Mac running 10.7 Lion.

Reset 10.5 Leopard & 10.6 Snow Leopard password

  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.

Reset 10.4 Tiger password

  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. Type sh /etc/rc and press Enter/Return.
  4. Type passwd username and replace “username” with the short name of the user account for which you’d like to reset the password.
  5. Type your desired password and press Enter. It won’t show itself on the screen, so be careful what you type. You will most likely have to enter it again to confirm.
  6. Type reboot and press Enter.

Tricking your Mac into creating a new user account

  1. Power on or restart your Mac (should work for any Mac OS X system).
  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 rm /var/db/.AppleSetupDone and press Enter.
  6. Type shutdown -h now and press Enter.

The third method of resetting your Mac’s password requires some additional explanation. Rather than simply changing the password like the previous two methods do, this one fools the operating system into believing it has never been started before. This means when you restart the machine, it will take you through the entire setup & registration process all over again. Do not worry, all of your pre-existing data is still available. Just continue with this process and do not choose the option to transfer or migrate information to the Mac.

Once you’re done, log in with your new admin account and go to System Preferences > Accounts. You may have to click on the lock icon in the lower-left corner before making changes here. You should see your original user account(s) in the left column. Try clicking on one of them to convert it to a standard user account (uncheck “Allow user to administer this computer”) and change the password. You should be able to successfully log in to that account now and access all of your files and programs. If you want, you can log back in with your new admin account and re-check the “Allow user to administer this computer” option in System Preferences to grant admin privileges to the original user again.

That should cover it! As always, remember messing with single-user mode and Terminal is risky and may lead to trouble if you make mistakes. Considering you’re already locked out of the computer, though, you’ll probably be willing to take your chances at this point.

One last thing… if you have a Keychain Access password, you will probably need to reset that as well. You can do this by selecting “login” under Keychains on the left and choosing Delete from the Edit menu. You’ll lose everything in the Keychain, but you’ll now be able to start fresh and add new ones.

Share/Save It
Digg ThisStumbleUponDel.icio.usTwitterFacebook

187 Comments Have Been Posted (Leave Your Response)

I have a 12″ MacBook pro. It wont reboot. It just stays on the grey screen with the apple logo. I tried the command c,fsck -fy, reboot routine but it just wont start.
I need help. Its my only computer and Im in the f***ing Artic. No reboot cds, tech support here.

Thanx a lot!

hi..i reset my computer using the third method stated above..i did this with three other macs and it worked awesome however, with my imac, when i got to the registration page i could not type in anything..why can i not type anything and how can i fix this? (i repeated the reset process and it did the same thing)

I used method 3 with success! Thanks for the info. Now I know what OS I have, also.

I tried method 1 and 3 without success did everything key for key twice and did nothing. Does this work

Thank You…Thank YOU…THANK YOU!!!
Your instructions SAVED THE DAY!!!

I did, however, have to try it a few times as I didn’t know if there was a space or not.

THANKS AGAIN!!!!!!!!!!!!!!!!!!!!!!

Thanks 10000x you saved my day!!!

Any suggestions on how to prevent this? (Besides avoiding physical access to the Laptop)

This surely works. I used method 1 reset your 10.5 Leopard password and it was a breeze. I actually used it on snow leopard and it worked just fine. Thanks for the help!!!!!!!!!!!

@FrozenBook – Setting up an Open Firmware or EFI password should prevent this, but there are ways around that too. It at least makes it more difficult.
See apple link about Open Firmware and EFI:
http://support.apple.com/kb/HT1352

Thank’s a lot Doug!
Whether or not an attacker can bypass / reset this password, an additional level of difficulty is always the way to go.

Thank you so much! Saved my day! :D

Thanks so much! This worked perfectly on a 17″ Macbook Pro running 10.5

I also have lost login password my used computer. I try above first method when I type 5 line it says shocket not connected and no file or directory message. how can resolve it. when type reboot it reboot and reboot only never work.

This process really worked for me, I was able to reset my powerbook g4 system with this method.
Thanks!

when i put sh /etc/rc a lot of things come out them it turn on like normal but the password is still there

I did above method (for 10.5) when I reach line 5 and enter but it says, Socket not connected

Got through the first 3 steps and now it is saying no root file when I type in the rm/var/db/.AppleSetupDone. Any help? I am doing this on an old Imac that my daughter forgot her password on. Tahnks!

I can’t reboot it, Liked when i try to command+S than it wont work. It went to the Login Pagged. So I’m So confused what should i do?

will it work on a macbook pro 13,3″ with snow leopard 10.6.2?
wich one of the three options should i take?

So I got pretty far… when I typed rm var/db/.AppleSetupDone all that happened was that it made a bunch of commands and then was like AppleSetupDone? and I didnt know if I say yes or not… so i just put in the shutdown part and the computer turned off…
Would anyone be willing to talk to me on the phone and help me throught this?

Ok This is exactly what happens: I type in rm /var/db/.AppleSetupDone and then I get this back : override rw- – - – - – root/wheel for /var/db/.AppleSetupDone?

What do I say to that??

1. Start up in single-user mode.


2. Type: mount -uw /


3. Press Return.

4. Type this, then press Return:
passwd (user’s short name)

Replace “(user’s short name)” with the short name of the user account whose password you wish to reset. If you are not sure what the account name is, you can get a list of user names by typing: ls /Users

6. Enter a new user password (and press Return).


7. Type: reboot


8. Press Return.

9. Done

For systems with Mac OS X v10.4 to v10.4.11

1. Start up in single-user mode.


2. Type: mount -uw /



3. Press Return.

4. Type this, then Press Return: sh /etc/rc

Note: There is no onscreen indication when the “rc” script is finished. When nothing happens for a while, it’s probably done. Press Return to produce a prompt.

5. Type this, then Press Return:

passwd (user’s short name)

Replace “(user’s short name)” with the short name of the user account whose password you wish to reset. If you are not sure what the account name is, you can get a list of user names by typing: ls /Users

6. Enter a new user password (and press Return).

7. Type: reboot


8. Press Return.

What keys do you use what you have a PC keyboard ???

once iv reset the password it doesnt work it says sorry everytime

i did the last thing and i typed all the commands in single usr mode, but when I turned it on after doing that, nothing happened! It seems like that had no effect on it because the login screen just popped up as normal and I logged in as myself.

I did

fsck -fy

mount -uw /

than

rm /var/db/AppleSetupDone

it says no such file or directory.

When i use the following command;

fsck -fy
mount -uw /
launchctl load /System/Library/LaunchDaemons…. .plist

It says socket not connected.

When I use

Ls /Users

It says

Admin

now my computer reboot and reboot never start.

I have not installation CD, it is purchased used.

How can I re-use ?

thanks a lot!!!!!!!!!!

Thank you thank you thank you!!!! Step three worked!!!!! You rock!!!!

I did these steps. Now my keyboard does not work at registration…? what do I do?

Hi! please help me!!

i was about to change my password and typed in the old password incorrectly too many times. thus, it changed old password to some keychain password that i have no idea of. By doing this method above, where you type in:
* mount -uw /
* rm /var/db/.AppleSetupDone
* shutdown -h now

will that delete all of my info on the hard drive and totally start everything from scratch with a new admin?

thanks!!

Ben,
You will not lose any of the information on your Mac by using that method. The 2 paragraphs following those steps explain what will happen and how you can recover your old account.

Hi, I got my macbook fixed and the people set a password – that they don’t even know! Will using these methods restart my whole computer and delete everything? :/ Im scared in case it will! ):

Hi there, I have this same problem-

“Ok This is exactly what happens: I type in rm /var/db/.AppleSetupDone and then I get this back : override rw- – – – – – root/wheel for /var/db/.AppleSetupDone?
What do I say to that??”

However i’ve typed yes then he shutdown command following, when I startup again no new admin presents itself

same goes for when I type no

Thoughts? (AND THANKS! for the help)

i tried a thousand other ways and sites in s mode and this was the only one that worked!!

-Jc

xpcman – Oct 10, 2009 8:27pm BST
corrected text

1.REBOOT
2. COMMAND & S (AFTER YOU HERE THE CHIME)
3.AFTER TEXT PROMPT ENTER IN THESE TERMINAL COMMANDS (PRESS ENTER AFTER EACH LINE)

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

****make sure to use spaces and capital letters EXACTLY as shown in the terminal commands above****

IT will not WORK if you don’t type it EXACTLY like this

Hunter Pendleton
June 13th, 2010, 1:05 PM

I enter single user mode by doing command+S at start up and the prompt is a root prompt (root#).

The fsck -fy returns an OK after checking, but the mount -uw return a message the the socket is not connected.

What to do?

What do you do when it says “socket not connected” after typing the launchctl thing

Awesome Information, Just used it to reset the admin password on my 10.4 macbook, no problems using the second technique…Thank You for posting this

Jim, i’m running 10.4.11… Went through each step to the letter. I’ve tried rm /var/db/.AppleSetupDone but nothing happens for that line. Any ideas? Thanks for the help :)

What do you do when it says “socket not connected” after typing the launchctl thing

people tryin the steps be sure to put a space in for certain portions of the entries like fsckspacebar-fy other then that did it yesterday 10mins it was done

will this work for a 10.6.3 ?

I tried method 3 to reset a macbook loaded up to welcome video and registartion i type in new user name and password then click continue
the spinning gear pops up for a second freezes then it goes directly back to the welcome video and suggestions

cant get mac in single user mode…. using pc key board

Hi does anyone have a similar solution for OS9 imac ? I gave my old machine to the kids but they’ve put a password in and now can’t remember it ! Thanks.

great! worked fine for me !

No one answered the issue from “BJ” after he did the procedure.

I’m also having the same issue.

After doing the process, my keyboard is now blocked. Not able to get passed the Registration screen because the keyboard make the sound like its blocked.

Keyboard does work, because I tried the procedure again, and works in terminal.

Please Help!!

This is a masterpiece of computer hacking men, who are you men. This is pretty impressive, anywy thnkZ dude.

What do u do if the command s doesn’t work? I dont have any software to go with it.

Does anybody know how to do this for OS X 10.6.3 ??

the instructions above in the initial post for 10.5 didn’t work (Socket Not Connected error message).

Any help/suggestions would be greatly appreciated!

(except not the

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

command, as that is not the kind of restart i need. i even tried it and it didn’t do anything, much less what i need)

the problem is that the computer was bought at a pawn shop and came with no discs. the old users password is keeping me from deleting applications/manually cleaning out the computer.

thanks again-

i have the same question please help…..

I tried option 3 and it worked successfully. Thank you!

I tried option 3… I got stuck at the new registration step as I put in the all the reg info and after I click to complete the reg process the system auto reboots taking me back to the same reg process… over and over again.. without doing anything else. How do I undo this process to restore the computer back how it was before I tried the third option info???

Hi,
I have a used iMac. I tried all three of your methods. It won’t work!
After the starting/ rebooting the mac it reads momentary in a pop up window “installing Mac OS X” and then all of a sudden the login window comes which reads, ” Mac OS X”
As I said, I bought it used and the password and id provided to me are not working on it.
Is there any other way I can reset this computer or its password.
I am new with Mac so please give precise information.

Thanks, looking for your earliest response.
Shaka

Yeeeeeeeeeeeeeeeeeeeees! Oh my god, I’m so gladful! Thanks from another ex-desperate user. I’m so happy I will start to think about this security flaw later.

Thank You…Thank YOU…THANK YOU!!!
Your instructions SAVED THE DAY!!!
Your 3rd method worked wonders?????? its now as good as new???? i had bought it second hand and i was not given the disc??????
I did, however, have to try it a few times as I didn’t know if there was a space or not.

THANKS AGAIN!!!!!!!!!!!!!!!!!!!!!!
God Bless You>>>>

what is differents between first method and third method.

thanks for the information..
step 1 worked perfectly on my friend macbook..
she use snow leopard…
and she said thanks to you hehehe!
u saved my friend works

XD~
regards

OMG the 3rd option works…awesome thanks thanks thanks yo’re my hero

ive trye everything on my mom imac osx g4 and can not get past the password at all she get it from a friend and i cant bypass the password in single user mode I need help please I all i know about it is when it comes on it has the persons name is steve that is it

hi, how do i get in to single user mode (im using a pc keyboard)

plz help tnx

Step one worked wonders!! Its was soooo easy too. Thankyou!

Does this wipe out all my data? I want to reset my password, but still need all my stuff. I’m going for the step one road.

I tried #3 w/out the “fsck -fy”. I was able to begin the registration but the macbook won’t go any further than the final registration questions. I am able to go back, just can’t continue. Any suggestions??

Bought a used Powermac G4 and the woman I bought it from could not remember the administrator password. So I could not install new software. The above steps worked perfectly. Thanks!!

Very easy. The first one worked great on MacBook w/snow leopard Thanks!!

Thx alot, now I can reset even all users password on my Mac.
Once again thank U

is int this hacking…..just making sure cause im a little scarred of doing this

I tried all of these with no luck any other suggestions

You are so awesome. I used the 3rd method to reset my daughters laptop. Worked wonderfully! Thanks a Million

Help! #3 worked…sort of. I was able to make a new admin account, but once logged in, none of my old user accounts showed up, only the new admin and a grayed out guest account. All my apps are there but none of my unique user data. With fear I rebooted in Target mode using my daughters iMac expecting to see nothing but, to my joy all my user files are there. Outside of pulling them off by folder & file, is there a way to retrieve the old user name and account, whatever it was?

I restarted my used macbook pro using #3 method. It is awesome having laptop that feels like mine now. My problem is thou, it had some great programs (one of the reason I bought) and they are gone. Tried next step but old owners name isn’t in system account. Have a lost these expensive programs! Any suggestions how/if I can retrieve them?

JIM!!!!! thank u sooooooo much!!!!! yours was the only one tht worked for my Mac OS X!!! wen it re-started like new…i wish u were to hug you!!!!

Thank you so much the third option worked for me. God bless
u

YES! Thank you!!!!!!!!!!

I have used the above method on my macbook pro with snow leopard and it does not work…how am i supposed to reset my password? i can’t reinstall the OS disk bc that also asks for password, which i don’t have.

Cheers for that mate – you have saved me a lot of hassles ;)

no one has answered the question on how to do this using a windows pc keyboard. WHat cmd key is utilized on the windows keyboard? can anyone help?? thanx

plz plz help… none of this worked.. i dont even see my login account anymore (i just have root)… i think i might have deleted it accidentally when trying diferent commands on the terminal from diffrnt websites…:( … i had all my data on the desktop… will i be able to recover it and boot my system? when i boot , it stays on the gray screen with the wheel for hours… what shud i do… my major issue is that i have snow leopard 10.6.4 installed, and a Mac OS version 10.6 dvd, but in disk utility reset password i only see the dvd, not the Macintosh HD. plz plz help.. dont want to lose my data

i reinstalled OS X snow leopard and it asked 4 the same password again.. this time when i went to disk utility i could see my macintosh HD and was able to reset the password.. but when i logged in, there was no data on he desktop. if after installation it erases data and reinstalls everything then why did it ask me for the same user name and password? i dont get it… and if it did, y was my data lost? can i recover it? can someone help me out..plz

I have got into the Reboot section with no problem. However my whole computer is locked to Caps Locks/Shift. Which means i cant type in the correct code because i can’t get you simple thing such as ‘.’ & ‘\’

It is driving me nuts, please help me!

Thanks man thats wicked
the hack thy mac attack pack

after i type in rm /var/db/.AppleSetupDone
it says override rw ——-root/wheel for /var/db/.AppleSetupDone?
am I suppose to answer the question idk what to enter… when i answer yes it says permission denied.
also when i type in passwd username and i continue to follow the prompt and i type in new password it says: Unable to set extended node credentials for /Local/Default. Authentication failed. can someone plz help?

Didn’t work for me, command-s did not work at the chime or grey screen, I think a potential issue might be that the chime comes way before the grey screen, forgive me if I’m being stupid as this is my first time dealing with a Mac.

I have a mac book pro and I forgot the password and I tried all the commands and they didn’t work so how can I get this resloved I gosoapot of files and info that I don’t want to loose please help me somebody..ps I don’t have a reboot disc

Thank you, it worked perfectly!

@Neila: try just pressing enter

It worked, thank you so much

none of these worked on my mac because you cant get into the command + s thing,have you got anymore suggestions

anybody know why command+s does not work on my macbook?

fsck -fy
mount -uw /
rm /var/db/.AppleSetupDone

MSG: no such file or directory.

When i use the following command;

fsck -fy
mount -uw /
launchctl load /System/Library/LaunchDaemons…. .plist

It says socket not connected.

Now Macbook is stuck in a loop. I never get to the login. Please help. I have searched the web but just come across same cmd but none to get out of “Loop”.

Sebastiano Beretta
February 14th, 2011, 4:39 PM

Hallo, I own a Mac G4 Mirrored Drive Doors. Leopard 10.5.8 installed. Unfortunately I had set an Open Firmware passworld sometimes ago. Now I can’t enter single user mode or use my Mac as a target disc. How can I restore and reset everything back again?

I went through the process and but now my computer won’t start up. it gets to the gray screen past the chime and just won’t start.

Thanks! This information was so useful. I kept trying other things that other people had suggested but this post by far was the most superior of all. Thank you so much!

This worked for me.. in Mac OS 10.4.11 Tiger.. User excat commandlines with Capital Letters as described below… Thanks JIM…..

“1.REBOOT
2. COMMAND & S (AFTER YOU HERE THE CHIME)
3.AFTER TEXT PROMPT ENTER IN THESE TERMINAL COMMANDS (PRESS ENTER AFTER EACH LINE)

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

****make sure to use spaces and capital letters EXACTLY as shown in the terminal commands above****

IT will not WORK if you don’t type it EXACTLY like this “

3rd worked, you’re the best. Thanks a lot.

@ jim…

pure genuis… that’s all you need to do… thank a mil

Bought my mac at an auction so no disks at all. Used the third option and it worked PERFECTLY. You do have to use spaces so be careful to type exactly. thank you thank you thank you

Everyone try the 3rd option

it will work for 100% sure

Hi,
i have a iBook G4,osx10.4.11
I tried the various methods but none worked??
I typed very carefully.
Please help me it is so frustrating.

Laura

For everyone getting the socket not connected error make sure that you type “mount -uw /” because I missed the slash the first few times and I got the error. When I typed in the mount command with the slash at the end it worked.

Thanks, I’m a very happy developer now :)

I had the same issue as someone above and did not see any response. Has there been any updates to the problem? Anyone have any ideas?

“I tried #3 w/out the “fsck -fy”. I was able to begin the registration but the macbook won’t go any further than the final registration questions. I am able to go back, just can’t continue. Any suggestions??

i cannot log in into my mac desktop, i am trying to reset my password because i forgot my password.. i am trying to do a new account using Command+S but i cannot access the single mode.. how can i reset my password.. my cd installer are also lost..
hope you can help me about my problem…

Comand + S IS NOT working… What am i doing wrong?
The only way i can enter terminal is thru ‘Utilites’ and even then when i put the “mouont -uw /” it says “GetMasterBlock Error 13 opening”…
I have a 13″ 2010 Macbook Pro…
I need help smh.

Oh yeah, I am also using Snow lepoard 10.6.6

I have a eMac and nothings working to reset it! iv tried and everything u listed but i still get no luck! please help me? im begging :-(

I fixed it… Thank you everyone… FOR NOTHING… Buttmunchin nerds.

HELP!!! I did this on a macbook with OSX and it worked but now automatically logs me into the new username. When I try to switch users or to change it from automatically doing that, it asks me to enter a password, so I do and it says it’s incorrect. I did this on a computer where I work and I’m screwed if I don’t figure it out!!! Please help me!!!!

If I do method 1, will I be able to keep all my files? Will it only delete the password? because I want everything else to stay the same.

Thanx allot for the help. Awesome stuff

THANK YOU SO MUCH!

my now ex partner! changed my password to be nasty, and i tried Option 3 to get around it, but it has caused me more serious problems. I followed the instructions step -by-step , and rebooted. (i have a little mini mac)
on reboot, it started up and went past the apple (grey screen) page, then instead of going to the log-on screen, it just went to a Black screen with my curser in the top left and hangs there, and locks the keyboard and my mouse. ive rebooted may times and its still the same. im stuck now.

For those getting the socket not connected message pay attention at step 4. U need to type
mount -uw /

with a space separating “w” and “/”
and then proceed with the other steps

Guy I tried all your methods and failled, I have a pro running on 10.6.7

Please help me:

thank you

Option 1 worked perfect for me once I got to command line – many thanks.

For those having trouble with Command + S: I just kept trying but I think pressing before the chime was the one that worked.

I tried doing 10.6 password reset but once I get to step 5 it tells me “Socket is not connected”.

hello i was giving a imac g4 the lamp looking desktop 2003 if was use for a kiddy school program and it has three user acounts the admins,teacher,student i can only log into student the other two accounts has passwords is it away around that or i have to buy a new operating system

Hi. I really appreciate this post. Thank you.

I just bought a used Mac on eBay. None of the methods work for me, and I am a computer programmer…

I know I am typing everything correctly.

Everything works as promised except the last step under option 1. After I list the users and type the command line, it gives me a DSOpenDirServiceError

If you could offer me any help, I would greatly appreciate it. I live on an island, only 3 miles wide. If I have to go to the mainland, it will cost me a lot of dough…so I would really, really appreciate it.

Thank you in advance,
Mike on Mackinac Island, MI

awesome guide, thanks! obviously in a drunk state last night i changed password and couldnt remember it, took me half day completing this though since i wrote a letter wrong all the
f-ing time :)

It works well tank you!!!!!!!

LADS- THANKS YOU SAVED ME!! :)

lifesaving workaround thanks.

what if those 3 steps didnt work? will i ever have a chance to use my mac again?-help me pls..thanks!

is the fact that i have to sbin/ mean that im lock on a vault….

Option #3 works like a beaut: Thank-you

I bought a cd to do this and it did not work but that led me searching to your site which did work. Your code was the charm, Thanks

It just shows me a black screen, with a lot of writing on it then it says, the files ciuld not be found. Please can you help me. I have a version 10.6

Super I was able to following step 3 now my computers up and runining.
Thanks

i tried method 1 on leopard and it worked
i also tried method 2 on a tiger i mean a mac running tiger ..lool
it also worked fine

thanks alot

Thank you for thr instructions, just wonderful to have this step by step.. you rock…

after i put in launchctl /system/library/launchdaemons/com.appledirectoryservices.plist it say socket not connected please help

ARGH
using macbook pro, running 10.6.5

when i get to the step where i type “rm /var/db/.AppleSetupDone” and press enter, is say not found or whatever..
i see other ppl above have had this problem… noone has answered them tho…
am i screwed?

Thanks a lot, the third method worked for me on Panther 10.3.9

THANK YOU, THANK YOU, THANK YOU!!!! You saved my sanity!!

mean guys thanks for the help, thought i was gonna be stuck with a useless machine. but all good now thanks

Ok, so I created a new user account and got access. However, I could not open System Preferences – click on it, nothing happened. I restarted several times with no problems; however when I logged out – it is now not accepting my password?

I tried the first option and it worked fine until I tried to sign in after rebooting, it just told me my account had been suspended, any way to fix this?

This info was very helpful! PERFECT..Made my day! Thanks a million times!!! ;)

what did you do when you see this message
‘socket is not connected’

Hiii!!! You’re a life saver! I followed the 2nd method and it worked! THANKS A MILLION!

Amazing, I bought a re-conditioned macbook with tiger os from newegg. Couldn’t update without a password, there customer service was no help at all. In 5 minutes from your directions we were up and running! Many thanks!!!!!!

My Power Mac G5 duo 10.5 will these 3 step methods works — THANKS—
with Desk Top Power Mac G5— it say socket not connected —please help

AFTER TYPE
launchctl load/System/Library/LaunchDaemons/com.
apple.DirectoryServices.plist
COMPUTER RESPONSES suggest = launchctl load /System/Library/LaunchDaemons/com.
apple.DirectoryServicesLOCAL.plist

Thank you. My battery broke so haven’t used my laptop in ages hence the memory loss of password. Step 3 worked well. Thanks again.

Works like a charm. I used the 10.6 version. Thank you!

i forgot my password but i have 10.7 Lion.
What i can do?
pls help
Rozy

I CAN GET INTO SINGLE USER MODE BUT THEN MY KEYBOARD WON’T WORK…PLEASE HELP!

hi, i used to have a password. after resetting it to nothing it keeps asking me for it. i just need to hit enter to pass this window. but the command window does not accept this though it is my admin password….. what is your guess i could do?! the window prompting me for a blank pw also sucks a lot! … thanks in advance :)

Thank you thank you thank you.. It worked perfectly..

Does this work for a MacBook Pro version 10.6??? PLEASE, I really need to know, I forgot my password help !!!!!

Thank you very much, very helpful information

Yippy! thank you so much! Easy to follow and life saving!

I tried all 3 and the 3 one was the one that worked great for me. its a pain to have to go through all that again but totaly beats the heck out of paying someone 80/hour to do it for me! thanks a million!

when i used method three- all of my files disappeared!!!!
what happened???????????

These procedures will not work for anyone running 10.6.3 or higher. When you boot into safe mode, it appears with the login screen requiring a password. Has anyone found a solution for Snow Leopard or Lion?

I tried the third method but it did not work. I am in Mac OS X 10.6.6 Darwin.
so I re-read the text of POST (boot) that appears after you press at boot to “command + s” and I noticed towards the end of this text to exit the read-only mode, we should write: sbin/mount-uw /.
and not mount-uw /.
and for me, after this amendment, the third method has functioned! check the text of the boot if it’s sbin/mount-uw / that appears and write code accordingly

sorry! on my first post i make a mistake:
i writted mount-uw , but of course there is a space between t and – so the correction is:
mount -uw /

guys, i want to ask something, when i reach that stage for typing …passwd (username) do l have to just write admin or the administrator’s name coz l keep on receiving a message that says “unknown user”
please help..

This very useful information. I really thankful of the program. I saved lot of important data.
So Much Thanks once again.

I have 2 OS on my macbook air (Windows and MAC HD), so i must press alt at the start up so i can chose which OS i want to work on, now when i restart the laptop and press cmd + S on the grey screen nothing happens.. is there any other way to recover my password ?

i can automatically enter to an guest user, i forgot administrator password, when i turn off the computer and turn it on to get the simple mode, instead having the simple mode i get directly to the guest user, what can i do?
thank you very much

Hello!
I didn’t do any of these yet, but some responses scared me a little.. Now I’m scared to do this, because I don’t know if it’ll work..
And is there a space bar in between the words? Please answer, I need to restore my password!!!

When i try to put the new password on 10.4 i type it then i confirm it and it says “Sorry” then i try to change the settings and it wont accept the password i typed

I have an imac G3 with OS 9 which was a British Council network and startup disc is locked. Can I use these methods on it?

This worked great fr me. Thanks for posting. Completely locked myself out of my system but was able to get back in.

I can get into my “admin” account, it boots there, I just can’t back up or do other tasks and don’t want to risk trying these steps.
Can anyone shed light on how it is so many have difficulties with this?
Macbook pro running 10.6.8.

Thoughts? gregmsutton@gmail.com

Ant
This tutorial (Reset Snow Leopard Password) “saved my iMac life”. I tried for hours and hours to fix this problem with advice on Mac Forums and with using my reboot installation discs, and nothing worked. I thought I was locked out permanently – Thank you, thank you, thank you. You are my Mac Hero!!!!!!!!! Have fabulous days! Peakpilot.

I hope this will work…
BTW, if i reset my password, do i also reset everthing else? cause i don’t want that..

i only wanna chance my password

i just did all of the steps and my mac book pro wont start what is goin on i have no idea im sooo madd does any one know whats going on???

After using unsuccesfully the first methode i used yhe third one with a great success .
PS :i used that for a friend ,i am linux user cause it’s free.

i have an issue with a power mac g4 firmware password and no hard drive for that matter.

Need a machine that will run mac os x 10.2.0
and this powermac did that and ran the schools entire website for almost 14 years! now that’s old. And one day it asked out of now where for a firmware password? need some help? now!!?!!

Thank you so much! Option 3 worked with me! You saved my life!!! THANK YOU SO MUUUUCH~

thank you! very useful!

Evrytime i put mount -uw/ it says
Mount:illegal option — /
Help pleease

Please help because everytime i put launchctl load /System/Library/LaunchDaemon/com.apple.DirectoryServices.plist it says socket not connected.

Hi,
I just followed the 3rd option to trick my computer and I now can access it. But everything has disappeared! Items on my desktop are gone and all the set ups like mail too
What did I do wrong..? :(

This worked perfectly. Too me a while as I am not as saavy as some of the others. BUT, I DID IT!

Thank you sooo much.

What to do when it says socket not connected

Plz help

DUDE YOU ABSOLUTE LEGEND!! 3rd one worked for me perfectly!! :) THANKS!

I have tried method 3 multiple times after i type everything in my computer shuts down and when i turn it back on nothing has changed. any sugestions

will this able to change my pass on OBS iBook 16 VRAM ???

Worked awesome!!!! Thank you!!!!

Does not work with Mac os x 10.5.8
None of these work.Step one gets error
Socket Not Connected.

The 3rd option gives me a Read Only notice.

Ok step 1 to work. There as stated above a space between
mount uw spacehere /
and another here
lauchctl load spacehere/System and so on.
and another here
dscl . spacehere-passwd/Users and so on.
There seems to always in most cases a empty space before the first / in each command.
Hope this help.

Sorry the space
dsc .-passwd spacehere/

does this get rid of all of your pictures?

i tried 1st and 3rd one , 3rd solved my problem thx !!!!!!!!

Have Something To Say? Join The Discussion!

  (required)
  (required; will be kept private)
  (optional)