"dscacheutil -q group -a name admin" returns a user that I can't find

I ran a script that was checking for any other admin users on my mac.

dscacheutil -q group -a name admin

It returned: root administrator Temp10

I can't find the Temp10 user account anywhere. I tried listing all the users using dscl . list users but I couldn't find the user account there either.

Maybe it's just a remnant of an old user somewhere? If so how can I remove it from that dscacheutil list?


After trying a bunch of different things I had the idea to create a new admin user account called Temp10 manually. And then delete that account. That seems to have resolved the problem. There must have been some remnant of the account left over from something that didn't clean up after it got deleted.