Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some employees at the office have been using an iMac, and now I am the only one who will use the station. I want to clean it up from the former user's data. How can I do it?

share|improve this question
up vote 3 down vote accepted

On Mac OS X, it is customary to store all personal data in one's own home directory, so deleting that should get rid of most of the junk. Pretty much all applications with very few exceptions store users' personal settings in a user's Library within the home directory.

To remove the other users' home directories, open System Preferences, go to Accounts (or Users & Groups) preference pane and delete the other user accounts. Confirm when asked whether to delete their data (unless you want to store it somewhere).

You might want to take a closer look at non-Apple stuff in /Applications (it is less common to store custom applications in the own home directory), the non-Apple entries in /Library/LaunchAgents, /Library/LaunchDaemons, and the directory /Users/Shared if it exists.

The directory /Library/Receipts contains information about software installed using an installer (typically large or invasive — e.g. virtual machine or device driver — software). On OS X Lion, read the InstallHistory.plist XML file to see what was installed. Earlier versions of OS X stored one empty "receipt installer package" per application in that directory.

Some things I wrote here also apply across user accounts.

If the other users had administrative permissions, they could have changed a lot of things deep in the system — e.g. installed a lot of Linux/Unix software, possibly compiled by themselves. There is no sane way to get rid of it all except wiping the disk and reinstalling the OS.

share|improve this answer
Thank you very much. That covers it. In my case I had to delete the accounts and clean-up Users/Shared. – Maxim V. Pavlov Oct 18 '11 at 18:53

If you want to erase the old OS X installation completely, erase and reinstall OS X from the recovery partition (in 10.7 and later) or from an OS X DVD (in 10.6 and earlier). See these Apple KB articles:

OS X Mavericks: Erase and reinstall OS X
OS X Mountain Lion: Erase and reinstall OS X
OS X Lion: Erase and reinstall Mac OS X
Mac OS X v10.6 Snow Leopard: How to Erase and Install

If you are selling a Mac, you should erase and reinstall OS X instead of deleting parts of the current installation manually.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .