getent not supported on Darwin
We are using getent in two place, but getent is not supported on Darwin.
servo:~/cmrg/monkeysphere/git 0$ grep -Rn 'getent' src/ src/share/ma/update_users:27: unames=$(getent passwd | cut -d: -f1) src/share/common:393: userHome=$(getent passwd "$uname" | cut -d: -f6) servo:~/cmrg/monkeysphere/git 0$
The first is to get a list of users, and the second is to get a users home directory. For getting the user's home, is there a reason we can't just use '~'? What's the way to query user account info in Darwin?
(from redmine: created on 2009-04-06, closed on 2009-04-07)