Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

flyster

macrumors newbie
Original poster
Jul 18, 2011
13
0
I've lost my admin password for my mac (10.6.8) what is the best way to get this back, i must of changed the password to a subject enntirely different to my hint as not even that is working, obviosuly i do not want to lose my mp3's and other files, so safest opetion please.
 
Reboot then hold command-s at startup to get to single suer mode where you will see a command line.

Then type this to mount the drive:

Code:
mount -uw /

Then this to list the users and grab your username:

Code:
ls /Users

Then this to reset the password substituting your own username:

Code:
passwd username

Then type reboot and enter the new password.

This will get you back into the account, however your Keychain will still be locked with the old password and there is no way around this. You will need to reset the Keychain and start over.
 
this is definately the safest option i'm ot going to lose my files, the word 'reboot' makes me **** a brick!!!!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.