I wanted to change my mac's name so I changed the "computer name" in SHARING and also the "account name" and "full name" in USERS & GROUPS. Only thing is I didn't change the "home directory".
Now I cannot make any changes to my mac that require hitting the little lock and enter my details. Nothing works. And I get the "not in the sudoers file" error when I try to fix my problem through the terminal... I think my mistake was to NOT change the "home directory" along with the account name and full name? I was worried making changes to the directory might alter more than I wanted.
Please help me!