How can I show all the Users in Users & Groups - Sequoia?

Hi,

I upgraded to Sequoia, and migrated my some old legacy users along with my main administrator accounts to it, and now I want REMOVE/DELETE/ERASE most of them. In previous versions of Mac OS X, I remember having to unlock Users and Groups which would show a list of all users, and allow for me to do that & more on an account by account basis, but now I only see me, the logged in User only, the main administrator, and no other users in the list. I created a new administrator, and it doesn't show up either.


How can I get a complete list of users to show up?


Any and all help is much appreciated.


Thanks, and so long for now, Tom

Mac mini

Posted on Feb 26, 2025 5:53 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 2, 2025 3:51 PM

dandeliondigital wrote:

I came across this sentence "If you already deleted the macOS user account from within the "Users & Groups" System Settings, then it is safe to delete the folder or .dmg file for that former account." .......I am asking you if you think this means that if the Users do not show in the Users & Groups pane of Sequoia, I can simply delete them from my Mac? If I did, do you know if there are any hidden files that should be deleted or verified as being gone?

If you have DMG files of the old user accounts in the "/Users" folder, then it means at some point in the past you deleted those users and saved their home users folders. If you don't need anything within those DMG files, then delete them.


Hi Barney-15E,
You said:
You’ll probably need to use dscl in the command line. I don’t know how to use it.

I don't either. I've only used the command line to solve issues that crop up from time to time, (like this),

Here is the command to see all the regular macOS user accounts:

dscl  .  list  /Users  |  grep  -v  '^_'



If you see a macOS user account in that output which doesn't appear on the login screen or Users & Groups, then you can use the following command to see if that particular account is hidden (replace "<user-name>" with the actual user name such as "hwtech" in my case):

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


FYI, the first command will show several macOS system user accounts, daemon, root, and nobody so just ignore those three.

9 replies
Question marked as Top-ranking reply

Mar 2, 2025 3:51 PM in response to dandeliondigital

dandeliondigital wrote:

I came across this sentence "If you already deleted the macOS user account from within the "Users & Groups" System Settings, then it is safe to delete the folder or .dmg file for that former account." .......I am asking you if you think this means that if the Users do not show in the Users & Groups pane of Sequoia, I can simply delete them from my Mac? If I did, do you know if there are any hidden files that should be deleted or verified as being gone?

If you have DMG files of the old user accounts in the "/Users" folder, then it means at some point in the past you deleted those users and saved their home users folders. If you don't need anything within those DMG files, then delete them.


Hi Barney-15E,
You said:
You’ll probably need to use dscl in the command line. I don’t know how to use it.

I don't either. I've only used the command line to solve issues that crop up from time to time, (like this),

Here is the command to see all the regular macOS user accounts:

dscl  .  list  /Users  |  grep  -v  '^_'



If you see a macOS user account in that output which doesn't appear on the login screen or Users & Groups, then you can use the following command to see if that particular account is hidden (replace "<user-name>" with the actual user name such as "hwtech" in my case):

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


FYI, the first command will show several macOS system user accounts, daemon, root, and nobody so just ignore those three.

Mar 3, 2025 7:40 PM in response to dandeliondigital

dandeliondigital wrote:

My Users folder as shown by the Terminal CMD you provided shows the System Accts I can ignore, my current operational User Acct, and the 4 other accounts that are what I will call "Legacy accounts". Those accounts do not appear in the System Settings Users & Groups Pane of Users.

Are these "Legacy accounts" shown in the Terminal the same ones that you can log into?


I can log into all of these accounts. Even though I set the preference to show all users in a list, I do not get a list as I could get in the past in the Settings Users & Groups Pane on the startup screen. I simply get Name and Password fields, and after I log in an icon called Other shows - which seems very odd.

I have seen this occur from time to time with some of my organization's Macs. I forget which macOS was the first where I saw it (probably Big Sur or Monterey). Sometimes I would see the normal list of users, but one would be missing. It was always due to one of the macOS user accounts being hidden.


Did you try the second Terminal command to see if any of those "Legacy accounts" have the "IsHidden" flag set? Here is an example using my user name "hwtech":

dscl  .  read  /Users/hwtech  IsHidden


I want to delete all the users except my main User Administration account.

What do you recommend I do to get this back on track? I would really appreciate any help. If you do not have any answers, but can show me how to delete my old "Legacy accounts" in Terminal that might be the best way to at least get started solving this.

I'm sure it is possible, but I've never done it. It is important to remove all aspects of each user account. IIRC, when using the command line to create macOS user accounts, there are multiple steps.....so it would require multiple steps in the correct order to remove them as well. It has been some years since I even looked at using the command line to create macOS user accounts.


Also, I would really like to fix this so that if I created a new User it would show up in the System Settings Users & Groups Pane of Users correctly.

I'm betting that something was configured to making all new user accounts default to hidden. I have no idea how that would occur or where that setting is stored, or what command could be used to change it back. Unfortunately macOS is not well documented in this regard (actually most of macOS is not well documented when you leave the confines of the GUI interface).


If this has occurred, I would be concerned about what else could have been changed which you have yet to notice or discover.


Mar 4, 2025 4:36 AM in response to HWTech

Hi,

Thanks for the detailed explanation.


I tried in Terminal the CMD "dscl . read /Users/<user> IsHidden", where I replaced <user> with the name of the accounts as found in Terminal's list of accounts that don't show up in the Sytem Settings. The result was this...."No such key: IsHidden"


It looks like I have to "virgin" reinstall Sequoia, and migrate only my main user/admin account, and see if that fixes this "problem" of the Users & Groups System Settings, and also maybe that approach will restore the ability to make a new User that will show up in the list.


If anyone out there ever finds an answer for this anomaly, I'd love to know it.


So long for now, Tom

Feb 26, 2025 10:13 AM in response to Barney-15E

Hi Barney-15E,

The old users were created in Mac OS X 10 Yosemite, as regular ones (?-forgot the term Apple Uses ?Standard?), and they got migrated over, there were 3 of those, and 1 additional administrator account, which also is on my Sequoia Macmini, but doesn't show in the List. The main User is OK.


In OS X Users were hidden until you unlocked the pane (remember that?) but now they are just not there. I need to see them to DELETE them.


I cannot understand why this is so hard to do. As I said the accounts were migrations, and actually they went through 10X, 11X, macOS11, macOS12, macOS14, and now macOS15.


One Internet search says reinstall! I hope not.


So long for now, Tom

Feb 27, 2025 6:25 AM in response to Barney-15E

Hi Barney-15E,

You said:

You’ll probably need to use dscl in the command line. I don’t know how to use it.

I don't either. I've only used the command line to solve issues that crop up from time to time, (like this), usually thanks to the kindness of the community tech knowing ones. I love how powerful it is, but life is so very busy, I could not put what is needed into that. So I really need some help here from maybe someone who knows and can instruct me.


Anyone out there who can tell me how to remove these unwanted Users from my macOS15 Seqouia Upgrade?


Thanks in advance, and I am really hoping for a helping hand here.


So long for now, Tom

Mar 2, 2025 1:13 PM in response to Barney-15E

Hi Barney-15E,

I have been trying to find an answer given I have gotten so few replies.


I came across this sentence "If you already deleted the macOS user account from within the "Users & Groups" System Settings, then it is safe to delete the folder or .dmg file for that former account." I think I will try to contact this person, but I am asking you if you think this means that if the Users do not show in the Users & Groups pane of Sequoia, I can simply delete them from my Mac? If I did, do you know if there are any hidden files that should be deleted or verified as being gone?


Thanks, and so long for now, Tom

Mar 3, 2025 7:20 AM in response to HWTech

Hi HWTech,

Thank you for getting back to me. I really appreciate your help.


FYI, I do not have any deleted Users or image files in the Users Folder or Users-Deleted Users Folder.


My Users folder as shown by the Terminal CMD you provided shows the System Accts I can ignore, my current operational User Acct, and the 4 other accounts that are what I will call "Legacy accounts". Those accounts do not appear in the System Settings Users & Groups Pane of Users. Also, as a test I created a new User Account, and it does not show in the System Settings Users & Groups Pane of Users either, but appears in the list created by Terminal.


I can log into all of these accounts. Even though I set the preference to show all users in a list, I do not get a list as I could get in the past in the Settings Users & Groups Pane on the startup screen. I simply get Name and Password fields, and after I log in an icon called Other shows - which seems very odd. Not familiar enough with Sequoia to know why all this is happening in this fashion. I can tell you that when Migration assistant was migrating the old legacy accounts, it changed the names on a number of them. Maybe that has something to do with this weirdness.


I want to delete all the users except my main User Administration account.


Also, I would really like to fix this so that if I created a new User it would show up in the System Settings Users & Groups Pane of Users correctly.


What do you recommend I do to get this back on track? I would really appreciate any help. If you do not have any answers, but can show me how to delete my old "Legacy accounts" in Terminal that might be the best way to at least get started solving this.


Thanks in advance and so long for now, Tom

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.

How can I show all the Users in Users & Groups - Sequoia?

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