I had the same problem and i solved it (for Remote Login)
1) First remove all users that can be remove from GUI
2) shows the configuration of users
sudo dscl . -read /Groups/com.apple.access_ssh
example result:
AppleMetaNodeLocation: /Local/Default
GeneratedUID: 2F60778C-0931-47A4-B656-DBE07ACD843F
GroupMembers: 3D7C31B1-DEDE-4A5A-AAA8-CDD55645DC75
GroupMembership: youraccoutname
PrimaryGroupID: 404
RealName:
Remote Login ACL
RecordName: com.apple.access_ssh
RecordType: dsRecTypeStandard:Groups
3) remove the group GroupMembers that the user is unknown
sudo dscl . delete /Groups/com.apple.access_ssh GroupMembers 3D7C31B1-DEDE-4A5A-AAA8-CDD55645DC75
4) Go to System preference (dock) and see the result
excuse my bad english.
Ciao,
Andrea.
concretenz wrote:
Hi just noticed in (OS X Mountain Lion) System Preferences, Sharing, Screen Sharing: I have a 'Unknown User' and too 2 'Unknown User' in the Remote Login.
See screen shots... got any ideas? (note clicking "–" does not remove the "Unknown User" they are stuck, hence my posting)
thanks