A couple years ago I purchased an older MacBook from Craigslist to do some iOS development. The previous owner had upgraded the machine to OS X, but didn't give me any discs with the computer.
I no longer have any use for this machine and am ready to sell it to someone else. I've removed all of the development apps I've installed, and verified that the computer isn't authorized for my iTunes account.
I've found methods online to restore a MacBook to "factory defaults", but it's my understanding that this would also remove the OS upgrade (please correct me if there's a way to do this without downgrading the OS).
Short of a full restore, what's the best way to remove my user account and/or otherwise prepare the MacBook for sale? I'm not too worried about personal information being left behind. I didn't use this machine for personal use so there's not much that should be recoverable.