Resetting admin password without Install disk


Yesterday, I changed my admin password in my MBP.

And today, I ran into problem; I forgot my password :)
I do not carry my Install disk. So here goes a trick to reset your admin password.
Reboot your machine.
While booting, press and hold down Command+s until you get the prompt.
Upon receiving command prompt, do the following,
>> mount -uw /
>>rm /var/db/.AppleSetupDone
>>shutdown -h now
Boot the machine by pressing the power button. Mac will boot, as if it has been powered up for the first time!
you will be guided through initial set up and registration for admin account.
Once inside the new admin account, go to System Preferences>Accounts and change the password for the admin account which you have lost or forgot.
Upon rebooting, everything should go fine, sometimes you may be hindered by Keychain password, if you have set your keychain password by your lost login password, in which case reset your keychian password by going into Applications/Utilities/Keychain access.app>Preferences>General and click Reset my Keychain.
And that is it. you are ready to go!.
I feel Mac is more insecure in terms of hack attack. Since anyone, who has an Install disk can get in to your Mac (by following this trick, Install disk is not even required), even you have opted all the protective measures offered by Apple.
I would appreciate, if someone would post me any alternative to BIOS password in PCs in Mac!. I can efficiently avoid the physical hacking!

Comments