10.5: How to reset Leopard back to the Setup Assistant

This really old hint has the basics for resetting a machine back to no users, so it boots to the Setup Assistant again. Things have changed in Leopard, so here's some new info. This hint will probably be most useful for folks who configure machines for a living, but if you're selling or giving away your machine, or just troubleshooting login issues, it may come in handy. Here are the Terminal commands to delete a temporary (or lone) account in single-user mode on Leopard (in the following commands, replace username with whatever account short name you've created). Note that this must all be done in single user mode (hold Command-S during boot). First, the usual stuff: $ mount -uw / $ rm -R /Library/Preferences/ $ rm -R /Users/username/ (Note that deleting /...
Wed, 21 Nov 2007 16:30:02 +0100

more MacOSXHints.com articles