Technology related solutions, tips, tricks, and other interesting topics
In: Apple
26 Jan 2008This procedure is handy if you are wanting to make a computer appear as it first came out of the box. It is useful if you plan on reselling your computer or are preparing a generic image with some modifications for mass deployment in a large organization.
Here are the Terminal commands to delete a single existing account in single-user mode on Leopard (in the following commands, replace username with whatever account short name you created for your existing account). These commands must all be done in single user mode (hold Command+S during boot).
First the normal things you always do when first entering single user mode:
$ mount -uw /
$ rm -R /Library/Preferences/
$ rm -R /Users/username/
$ rm /var/db/dslocal/nodes/Default/users/username.plist
$ rm /var/db/.AppleSetupDone
This blog is about technology related topics. It will primarily contain problems and solutions to IT problems that I encounter on a day-to-day basis. In addition interesting things I come across either on or off the internet will be posted here as well. I will also include step-by-step tutorials to common tasks people may need to do with their computers.