Going back to a fresh Mac without system restore
I intend to send my old Mac to Apple's Reuse scheme. However, I don't have the old system discs. Is there anyway of not only deleting all existing users but even the admin, so it goes back to a 'fresh' system with the welcome screen on start up without the current admin password?
Comments
rm /var/db/.AppleSetupDone
You would be able to remove a user from single user mode but it's not worth the trouble. After a user goes through the setup, they can remove the other user if they like.
You can create a new default admin and delete all previous users and then delete the apple setup file by running the following command in the terminal:
rm /var/db/.AppleSetupDone
You would be able to remove a user from single user mode but it's not worth the trouble. After a user goes through the setup, they can remove the other user if they like.
Thanks for this. However, when I enter the command in the terminal it says
Macintosh:~ admin$ rm /var/db/.AppleSetupDone
override rw------- root/wheel for /var/db/.AppleSetupDone?
I go yes but then it says
rm: /var/db/.AppleSetupDone: Permission denied
I go yes but then it says
rm: /var/db/.AppleSetupDone: Permission denied
I should have written the following:
sudo rm /var/db/.AppleSetupDone
then you type in your password. That file has higher permissions.
I'd be more careful with my data and just securely wipe the drive is that isn't an issue.