Benches macOS

15

Missing user account in System Preference…

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I am having issues with a recent issue.

Problem

I was in the middle of a Chrome session and my MacBook froze (beachball). I powered down and powered back on and was prompted with my user to log in (assuming it was the standard user). I was then taken to a second login screen where I had multiple other users but not my user. It was not showing up.

When I logged into one of the other admin users, I was taken to the desktop. I looked in my /Users folder and I was able to see my /Users/myuserfoldername with the correct files inside.

I then went to system preferences and was NOT able to see my user in the system preferences.

I ran a dscl . list /Users | grep -v '^_' command and was not able to see the real user listed.

I have already attempted to create a new user and merge it with the folder, but it did nothing. I have also tried to turn off Filevault which was also not working.

What is going on here and what can I do to fix it?

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Related threads:

    Attempted Solutions

    Restarted into Recovery Mode using CMD+R. From Terminal, ran the command

    rm /Volumes/Macintosh HD/var/db/.AppleSetupDone

    Restarted the computer. Created a new admin with a different name.

    Ran from command in terminal

    rm /var/db/dslocal/nodes/Default/users/shortusername.plist

    Go into system preferences under Users & Groups and create a New User with the same name for the account. It will ask if you want to Use Existing Home Folder - select Use Existing Folder and all should be well.

  2. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

  3. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Update:

    It appears I do not have the user's .plist file.

    which is exact to this issue: https://discussions.apple.com/thread/6428817

    Should I copy the plist from a time machine backup? It might be an older version.

    Will that mess anything up?

    What's confusing here is that hiddenuser.plist I am not sure what this is and I'm wondering if I should attempt to rename it or view the contents.

  4. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    What user name are you expecting to see that is not listed?

    I see your created users:

    admin

    badapple

    hiddenuser

    test3

    
    

  5. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    For anyone concerned about losing the launched applications and the state of the preferences for a user, that appears to be in the Users/<username>/Library plist files

    https://www.blackbagtech.com/blog/2017/01/17/recent-items-in-macos-sierra/

  6. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Any ideas on that hiddenuser folder? Seems suspicious?

  7. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Any ideas on that hiddenuser folder? Seems suspicious?

    Lets see the output:

    defaults read /Library/Preferences/com.apple.loginwindow
    

  8. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Here's the output:

  9. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Could this be a potential solution: https://discussions.apple.com/thread/2760585

    SOLUTION 3 with TERMINAL.

  10. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This is showing no hidden users

  11. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Sure, so what other steps can I take? I am investigating dslocal/nodes at this point.

  12. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Would it be possible to copy a dslocal/nodes/Default/users/username.plist from my older time machine back up and add it to my local dslocal/nodes/Default/users folder?

    Would that potentially fix the issue?

  13. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I really need some help here. I'm not able to find a plist to replace for the file and the Create New User isn't working.

  14. 0

    cjroe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Can anyone help me or should I just give up on Apple?

  15. 0

    leroydouglas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Can anyone help me or should I just give up on Apple?

    I would submit to you that instead of trying to do all the forensics, back tracking and trouble shooting in undoing all the monkeying around that has already taken place—far more simple to restore your mac from Time Machine or other back— to before the problem showed itself.

    https://support.apple.com/en-us/HT203981