I wanted to rename my user account and followed the following Apple support directions: https://support.apple.com/hr-hr/HT201548
Per the instructions, I created a new user account with admin privileges, and while logged in under the new account, I first renamed my original user folder (under /Users/ (via Finder > Go To Folder)). Next, under System Prefs > Users & Groups, I right clicked on my original account and clicked advanced options. I changed the account name field to match what I had just renamed the user folder. The “Full name” field was my full name. Notably, I did not edit the “Home directory” field (I believe this is what caused my problem). I hit OK and restarted, and when I logged in as the original user, whose name I had just tried to change, my data was gone, I got all the prompts to set up my Mac, etc. Under System Prefs > Users & Groups, I noticed that both the account I was logged into and the admin account I’d just created to do the name change had lost admin privileges (both were “Standard”). When I tried to unlock and access advanced settings, none of my previous admin username/password combos worked.
I read this thread: < Renaming user failed, lost admin rights> and ended up booting up in single user mode to create a new user with admin privileges. I was able to grant admin rights back to my original user account. However, this account still had none of my data. Under Advanced Options in System Pref, the "Account Name" field for the original user had not changed -- it was still the original account name which I had tried to get rid of.
Under /Users/ I can see that my data is still there a user folder -- its name is the name I had tried to change in the "Account Name" field for the original user, yet it isn’t associated with any of the users listed under Users & Groups. It’s in limbo.
How can I regain access to this user account and it’s data? I thought about simply changing the "Account Name" field of one of the users with admin privileges which I can access in Users & Groups match the user folder name, but I don’t want to overwrite the data in that folder.
Thanks!