recently, i bought a mbp off ebay and got a fairly good deal on it and of course i had to buy it from that one guy who didn't give me the admin password or any osx discs. anyway, i found something that allowed me to add a second admin (you basically trick the system to think it's being loaded for the first time) and gain access to delete the old admin as well as get access to loading those new programs you need. all this is done without losing anything you previously had on there and that is..............noice! here you go for those in need if not previously posted, enjoy:
To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:
1. Reboot
2. Hold apple + s down after you hear the chime.
3. When you get text prompt enter in these terminal commands to create a
brand new admin account (hitting return after each line):
* /sbin/mount -uw /
* rm /var/db/.AppleSetupDone
* shutdown -h now
4. After rebooting you should have a brand new admin account. When you
login as the new admin you can simply delete the old one and you’re
good to go again!
To reset your OS X password without an OS X CD you need to enter terminal and create a new admin account:
1. Reboot
2. Hold apple + s down after you hear the chime.
3. When you get text prompt enter in these terminal commands to create a
brand new admin account (hitting return after each line):
* /sbin/mount -uw /
* rm /var/db/.AppleSetupDone
* shutdown -h now
4. After rebooting you should have a brand new admin account. When you
login as the new admin you can simply delete the old one and you’re
good to go again!