Newly Created User Doesn't Appear ... Anywhere

I used the system preferences "Users & Groups" pane to create a new user. Everything seemed fine; after entering the required information (full name, account name, password, verify, hint) I clicked "Create User." The entry form went away, as you would expect it to, but the new user did not appear in the display of users, or on the login window ... or anywhere. Except that the Account Name does appear when I use terminal to view users on the machine.


This seems so straightforward, I can't imagine what I have done wrong.


Suggestions?

Thanks in advance!

Jacque


MacBook Pro, Mojave 10.14.6

MacBook Pro

Posted on Sep 28, 2020 6:46 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 28, 2020 8:02 PM

Maybe the user accounts are being hidden. Run the following command from the Terminal app to see if the "IsHidden" flag has been set and whether it is marked as "hidden":

sudo  dscl  .   read   /Users/<name-user-account>  IsHidden  


Replace "<name-user-account>" with the actual short user name for the account you created.


You can set or reset the "hidden" option using these instructions:

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


sudo  dscl  .   create  /Users/<name-user-account>  IsHidden  0


The last character on the line is a zero.


Edit: Or this may be related to a macOS bug I've encountered on some of our organization's Macs. The last created user account "disappears" and cannot be accessed. I've never had the time to delve further into it once I discovered creating another user account brings back the ability to access the "missing" user account. It just moves the problem to the new user account.


Again, this is yet another example why backups are so important since sometimes it is easier or better to restore from a backup than to try to understand or fix the problem in other ways.

23 replies
Question marked as Top-ranking reply

Sep 28, 2020 8:02 PM in response to JacqueHarper

Maybe the user accounts are being hidden. Run the following command from the Terminal app to see if the "IsHidden" flag has been set and whether it is marked as "hidden":

sudo  dscl  .   read   /Users/<name-user-account>  IsHidden  


Replace "<name-user-account>" with the actual short user name for the account you created.


You can set or reset the "hidden" option using these instructions:

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


sudo  dscl  .   create  /Users/<name-user-account>  IsHidden  0


The last character on the line is a zero.


Edit: Or this may be related to a macOS bug I've encountered on some of our organization's Macs. The last created user account "disappears" and cannot be accessed. I've never had the time to delve further into it once I discovered creating another user account brings back the ability to access the "missing" user account. It just moves the problem to the new user account.


Again, this is yet another example why backups are so important since sometimes it is easier or better to restore from a backup than to try to understand or fix the problem in other ways.

Sep 28, 2020 1:53 PM in response to Steve27

Interesting, just tried it here, no new user showed up, cannot reboot right now to see if that helps.


If you have a good current Backup might see if this works...


See if you can create a new administrator account by restarting the Setup Assistant:

  1. Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
  2. Check and repair the drive by typing /sbin/fsck -fy then ↩ enter - as directed by the on-screen text.
  3. Mount the drive as read-write by typing /sbin/mount -uw / then ↩ enter.
  4. Remove the Apple Setup Done file by typing rm /var/db/.AppleSetupDone then ↩ enter.
  5. Reboot by typing reboot then ↩ enter.
  6. Complete the setup process, creating a new admin account.


Be very careful to notice the spaces in those Terminal Commands.


Once you've done that the computer reboots and it's like the first time you used the machine, except all your data will stile there. Your old accounts are all safe. From there you just change all other account passwords in the account preferences!!

Sep 29, 2020 3:41 PM in response to Steve27

Interesting. I ran the Mojave updates at the same time (security & safari) the other day and didn't think anything of it. Then I ran an update to Catalina today (unrelated, it was time for me to do it). After that I tried to create a new user and ran into this problem. So the issue could START with the Mojave security/safari installers but updating to Catalina does not fix them. Thought it was just a glitch until I was helping a user completely erase & reinstall Mojave on his machine and we ran into the same issue. But, again, he ran the security update too. We're having him erase and reinstall Mojave again but this time skip the security update. If that works I'll reply back again tomorrow & report my findings to Apple.

Sep 29, 2020 7:52 AM in response to Steve27

https://mrmacintosh.com/mojave-2020-005-security-update-causing-major-problems-updated/


This article says that if you instal Safari 14 and then the security update you have these problems, but not if you install the Security update first.


After reinstalling my OS from Recovery Mode (Command R) the problem was fixed and I installed the Security Update and things seem to be fine. I'm in no hurry to update Safari though.

Oct 1, 2020 10:14 AM in response to BDAqua

Must have mistakenly mentioned @Steve27, my apologies! Yes I guess it was @BDAqua who listed those steps. (Add item #5 to my list of how I messed up, haha!!)


All's well that ends well, restoring the OS went successfully. I haven't tried creating another user, so actually I haven't gotten to the entire end of the problem. But it does seem that I haven't been asked to install Safari 14 ... since my need to create the additional user has now gone, I don't think I'll bother to test that final step.


Given the thoroughness and updates found on that MrMacintosh post, I think I can suggest that anyone with the problem I experienced should try the steps recommended there.


Thanks again to all for responses, suggestions, ideas.

Jacque



edit: yes, it was BDAqua with the terminal steps, the post shows "in response to Steve27" so yeah I misread that. Sorry for the misunderstanding, my bad.

Continued thanks for those who offered suggestions.

Sep 29, 2020 6:00 AM in response to HWTech

Thank you HWTech,


I did try the "IsHidden 0" approach, but that did not change the result.


I also tried multiple times to create new accounts, none of them show in the login screen or in the Users & Groups pane of System Preferences.


All of them can be 'seen' by using

dscl . list /Users


For another day or so I don't have access to the machine in question—I've lent it to a colleague and allowed them to use the existing account—so I can't try BDAqua's detailed suggestion, but will as soon as I can.


Steve27, your answer hints that this might be a known problem? Or you're just saying it could be? Is there a public-facing bug list maintained by Apple that I should look through to see if this is systemic?


Thanks all!

Jacque

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Newly Created User Doesn't Appear ... Anywhere

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.