Need to "wipe" personal info from MacBook

Joined
Mar 10, 2012
Messages
1
Reaction score
0
Points
1
I need to help sell a relatives older MacBook. I don't have install disks for it, he bought it at a pawn shop, God knows what's on it. Please, can you tell me how to wipe the personal info, plus the computer and admin passwords without having to re-install the OS ? It only has 512 mb memory, won't load my SnowLeopard install disks. And it will cost more to upgrade memory & buy used older system disks than he'll probably get from the sale.
THANX!
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
You're going to need a disk, preferably an install disk with the same version of OS X that came with the MacBook. It sounds like that particular MacBook may have come with Tiger. You need the disk in order to boot from it and wipe the hard drive plus reinstall the operating system.
 
Joined
Jul 2, 2007
Messages
3,494
Reaction score
204
Points
63
Location
Going Galt...
Your Mac's Specs
MacBookAir5,2:10.13.6-iMac18,3:10.13.6-iPhone9,3:11.4.1
Personally, I usually su to root (why not enable root if you are nuking the system anyhow?) and cp -pr the contents of the /bin directory to a new directory I create called /zzz in terminal.app. Since commands like rm generally run from 0-9 & a-z, the /zzz directory will likely be one of the last directories removed and thus run for much longer than if you run it from /bin. The rm command and it's dependencies will theoretically be some of the last files deleted from the disk. Anyhow, from there I run /zzz/rm -drf /* (or to be really thorough: rm -drfP, though it sometimes just dies with the P flag). You can do other variations, like rm -drf /*.* or whatever. Eventually, after a really long time, the system will just quit running and will be pretty tough for anyone to recover without some serious effort. Some folks like to boot off a Linux flash drive and just format over the whole disk or write out the contents of /dev/random to the disk, but that's a bit more involved sometimes.

You can also just go old school and use the manual zero method:

dd if=/dev/zero of=/dev/disk0s2 bs=1M

The dev/disk0s2 is whatever your boot disk is when you type df:

Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk0s2 235298960 123042408 111744552 53% /
devfs 370 370 0 100% /dev
map -hosts 0 0 0 100% /net
map auto_home 0 0 0 100% /home
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top