SysAdmin account shows at login, but doesn't work and is not listed in Users & Groups

When I start my MacBook Air (Mojave), I see the correct list of accounts from which to choose.


If I choose my SysAdmin account, it accepts the password correctly, the horizontal progress bar advances to the end and then it redisplays the login screen with the list of available accounts - but MINUS the SysAdmin account.


If I logon with another account which has admin privileges and look in Users & Groups, I see all the accounts listed, minus the non-functioning SysAdmin account. I see the same list of accounts in Users & Groups, with no SysAdmin account listed, if I don't try to logon to the SysAdmin account first.


I have created a new Administration account (with a slightly different name), which works fine. 


How do I remove the non-working SysAdmin account from the account list that appears when I start my Mac, as I can't find a way to see it in the User & Groups list?


I have tried using "sudo dscl . create /Users/SysAdmin IsHidden 0" just in case the account became hidden in Users & Groups.


Many thanks !

MacBook Air 13", macOS 10.14

Posted on May 26, 2019 6:27 AM

Reply

Similar questions

5 replies

May 26, 2019 9:12 AM in response to Colin.inBelgium

Colin.inBelgium wrote:

When I start my MacBook Air (Mojave), I see the correct list of accounts from which to choose.

If I choose my SysAdmin account, it accepts the password correctly, the horizontal progress bar advances to the end and then it redisplays the login screen with the list of available accounts - but MINUS the SysAdmin account.

If I logon with another account which has admin privileges and look in Users & Groups, I see all the accounts listed, minus the non-functioning SysAdmin account. I see the same list of accounts in Users & Groups, with no SysAdmin account listed, if I don't try to logon to the SysAdmin account first.

I have created a new Administration account (with a slightly different name), which works fine. 

How do I remove the non-working SysAdmin account from the account list that appears when I start my Mac, as I can't find a way to see it in the User & Groups list?

I have tried using "sudo dscl . create /Users/SysAdmin IsHidden 0" just in case the account became hidden in Users & Groups.



This will list all registered users on you computer,


From the command line, copy and paste:

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

May 26, 2019 9:59 AM in response to leroydouglas

No, it was working fine (but only used it rarely) UNTIL I tried to logon with it today.


After using: sudo dscl . delete /Users/SysAdmin

I confirm that although it has now disappeared from the list given by dscl . list /Users | grep -v '_'

It regrettably still appears in the list of possible logon accounts when I start my Mac.

And, there is no folder for SysAdmin under Users ... and I can't find one in my recent backups, either.

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.

SysAdmin account shows at login, but doesn't work and is not listed in Users & Groups

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