Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am essentially looking to 'reformat' my user account on my mac. By reformat, I'm trying to basically reset the account to how it started when it was created - blank. One way of accomplishing this is to delete the account, and then recreate it. Is there another alternative, that just lets me 'reset' the account?

share|improve this question

2 Answers 2

Here's a simple way to hack this:

The default user profile is located at /System/Library/User Template/English.lproj. On the command line, and NOT while logged in as yourself (either connect via SSH remotely while logged out or use a different administrator account):

Remove your existing account with
$ rm -Rf /Users/myshortusername

then copy the template back with
$ ditto /System/Library/User\ Template/English.lproj /Users/myshortusername
(make sure to omit the trailing slash!)

and finally chown the copied account back to your user with
$ chown -R myshortusername:myshortusername /Users/myshortusername

You'll need to be root for this, so either $ sudo -s at the beginning or run each command with a sudo.

share|improve this answer

I think your method is the easiest way to reset the user. I recommend to create a new user an switch to this user. So you still have some old settings / files / passwords and so on.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.