Wednesday, September 17, 2008

How to access a forgotten Admin Password in Mac

Ever lost a password on your mac that accesses your account? Have no fear, there is a neat little trick you can do to get it back, or at least make a new account and keep your old files!

Note: I know this works for Mac Tiger 10.4.x, but don't know if it will work on previous or after versions, but I think it does :)

Firstly, Start up your Mac and Enter Single User mode. To do this, when the Apple logo comes up (Before the loading circle at the bottom appears) Hold down Command + S. It then should make a whole lot of writing go on the screen. When it has finished, type the following commands in. 

Note: Press enter after every line
mount -uw /
rm -rf /var/db/.AppleSetupDone
reboot


Once you have done this, the computer will reboot. What this command is telling the computer to do is to restart the computer, with the Apple Setup Complete window appearing. Keep following the instructions on the screen, and when you are done, you would have created a new administrator account! 

No comments: