Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alphacrust

macrumors newbie
Original poster
Jun 2, 2008
27
0
Hi Guys,

I'm trying to setup my Macbook ready for sale (install software and remove the user ready for new buyer). Having browsed through various forums I came across the following script:

/sbin/mount -uw /
cd /private/var/db/netinfo
mv local.nidb local.old
cd ..
rm .AppleSetupDone
cd /Users
rm -rf <user short name>
reboot

All seems to work apart from when the user goes onto to create their new setup they can still see the old user in the Users section of System Prefs.

Not sure if it's linked but I don't get the 'netinfo' directory when running through the script, so I had to miss that part out.

Any help appreciated.

Cheers,

Paul.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.