On 2/04/2010 3:42 PM, John Gage wrote:
> If I do cat /etc/passwd, I get the following, which does not include
> 'postgres'. Yet id knows about 'postgres'. And 'postgres' owns the data.
Try:
sudo dscl localhost -list NetInfo/Users
Apple don't use the usual UNIX utilities, they've got their own user
database. It's based on LDAP (as of 10.??'s OpenDirectory) and before
that was a more NIS-like service.
See dscl, netinfo, opendirectory documentation for more info.
--
Craig Ringer