How to fix a damaged user account? So I'm riding the Mavericks, I mean I'm using OS X 10.9.2. :)

I played around with the account settings and now the account is damaged.

Below is exactly how I damaged it.

I wanted to change my username.

According to http://support.apple.com/kb/HT1428,
I first created a new account, then went to the directory "/Users" and changed the name of the folder "/Users/mac" to "/Users/Air".

Then I went into System Preference -> Users &amp; Groups, and entered the "Advanced Options" of the account named "mac".



I happily disregarded the "WARNING".

I deleted "User ID".

And deleted "Group", which automatically turned to "wheel" after the cursor was moved to the next field.

I Changed "Account name" from "mac" to "Air", and changed "Home directory" from "/Users/mac" to "/Users/Air".

I clicked "OK", restarted and logged in the newly-named account. Then it says the resource library was damaged, and the system stopped responding (that beachball spinning!)

Any help is greatly appreciated!

-- Frax
You need to put the User ID and Group entries back the way they were. If the screenshot is right, the User ID should be 502, and the Group should always be "staff" on normal accounts.

It's possible there's something else wrong as well, but this'll solve at least part of the problem. One thing to check (after fixing the User ID) is to use the Finder's Get Info to check the home folder -- in the Sharing &amp; Permissions section, make sure the correct user account is listed. If it isn't, do not try to fix it in the Finder; there's a way to fix home folder permissions in Recovery mode that's much less likely to break anything.