site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Hi all, Is getpwnam() restricted some how in a chrooted environment? Any help greatly appreciated, Axel --- ar3 _______________________________________________ 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... while installing hylafax 5.2.8 on darwin 9, getpwnam fails on the chrooted server. The relevant function is: ------------- void UUCPLock::setupIDs() { if (UUCPuid == (uid_t) -1) { const passwd *pwd = getpwnam("uucp"); if (!pwd) faxApp::fatal("Can not deduce identity of UUCP"); UUCPuid = pwd->pw_uid; UUCPgid = pwd->pw_gid; endpwent(); // paranoia } } ------------- Putting the code in a small c-program, it runs as expected. This email sent to site_archiver@lists.apple.com