site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Sat, 25 Sep 2004 23:00:00 +0100, Finlay Dobbie <finlay@dobbie.net> wrote:
On 25 Sep 2004, at 10:16, Dan Bernstein wrote:
1. Given the user's uid, what's the best way to determine the user's gid and groups list?
getpwuid?
Thanks, but where in the passwd struct do I find the groups list? (And as long as we're discussing this structure, is it safe to assume (as finger does, IIRC) that pw_gecos points to a UTF8 string with the user's full name?) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com