By examining the /etc/passwd
file, I should get a list of all users in the system. However, when dumping the passwd
file on Mac OS X I don't see my current username but many entries like these:
_xgridagent:*:86:86:Xgrid Agent:/var/xgrid/agent:/usr/bin/false _appowner:*:87:87:Application Owner:/var/empty:/usr/bin/false _windowserver:*:88:88:WindowServer:/var/empty:/usr/bin/false _spotlight:*:89:89:Spotlight:/var/empty:/usr/bin/false _tokend:*:91:91:Token Daemon:/var/empty:/usr/bin/false
How come I can log into the shell with my username and see that username when I do who
?