I am also at my wit’s end. Lets try something different, if you still want to, and find out which account might be hidden there. We’ve already excluded the root account.
- Make sure that no server is specified under System Preferences → Users & Groups → Login Options → Network Account Server. The button should say ‘Join...’, not ‘Edit...’
- When the key ‘Hide500Users’ in com.apple.loginwindow is set, then it should hide only those user accounts with a UniqueID below 500. You can disable this setting temporarily to see whether this caused a specific user to be hidden.
Code:
sudo defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool false
- Check which accounts have the ‘IsHidden’ key set. On my El Capitan installation this is only set for _mbsetupuser. You can get a list of users that have this key with this command:
Code:
dscl . -list /Users IsHidden
- The user shell of your accounts should not be /usr/bin/false (they will be completely hidden otherwise). On my system, these accounts are: my user account, _mbsetupuser, Guest and root. You can check which accounts have this with this command:
Code:
dscl . -list /Users UserShell | egrep -v '/usr/bin/false|/usr/sbin/uucico'
- User accounts with a password set are likely to be present on the login screen as well. Try these commands to see which accounts have one or have other authentication information:
Code:
dscl . -list /Users Password | egrep -v '\s+\*$'
Code:
dscl . -list /Users AuthenticationAuthority
_mbsetupuser seems to be set up on any El Capitan installation, so I don’t believe that this is what is hidden under the ‘Other…’ field. For science, I installed Sophos to have a look myself and I still could not reproduce this issue.
As for the missing daemon account, I cannot say what caused the removal. No command suggested in this thread did, so it might have been a program you used. Maybe Sophos? Can you try this command to see whether the account is really not there?
I can give you instructions for recreating the account, but given the suspicious nature of the disappearance and the impossibility (for us) to tell what other things are broken or missing, I recommend you reinstall OS X El Capitan over your current installation either by rebooting into Recovery or by downloading El Capitan from the App Store and installing it over your Macintosh HD partition. In both cases only system directories, applications and global configurations are overwritten, your personal files remain intact. You can also upgrade to macOS Sierra next week, which should have the same effect.