HT1274: OS X: Changing or resetting an account password (Snow Leopard and earlier)Learn about OS X: Changing or resetting an account password (Snow Leopard and earlier)
Currently Being ModeratedMar 16, 2013 11:03 AM (in response to klm4Bostons)
I remembered my recently updated password (I have to make sure I update the password hint.
However-- neither of the above worked and I'd like to know
How to recover my password without a disc for
Future use as I'm sure this wont be the last time
Currently Being ModeratedMar 16, 2013 1:01 PM (in response to klm4Bostons)
Did you actually enter these command without out spaces between the appropreate fields?
mount -uw /
mount <space> -uw <space> /
rm <space> /var/db/.AppleSetupDone
with a period before .AppleSetupDone
When you reboot, you should be promoted to setup a new admin account as well as go though all your "I just got my Mac setup information"
I have never tried the other approach, but if you munged the commands similar to what you have posted for the first set, then I expect something when wrong with that as well.
I would have expected errors being reported if you actually entered the above commands wrong. Did you get any, and can you post them.MacBook Pro, Mac OS X (10.7.5), 27" iMac, MacBook, MacMini, etc...
Currently Being ModeratedMar 16, 2013 1:37 PM (in response to klm4Bostons)
You can't recover the password, but you can reset it.
Hold command s and boot the machine
mount -uw /
ls /Users/ (only if you don't remember the name)
Type new password in twice
Then reset the keychain
The Applesetupdone deletion is to create a new Admin account on the machine in case you only have one and it's not logging in for some reason and you need to grab files using another Admin account.