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:
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.
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
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.