Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!jtsv16!geac!alias!chk From: chk@alias.UUCP (C. Harald Koch) Newsgroups: comp.sys.sgi Subject: Re: why separate getpwent routines for YP? Message-ID: <664@alias.UUCP> Date: 4 Dec 89 17:32:17 GMT References: <8911301944.AA11476@kailand.kai.com> Reply-To: chk@alias.UUCP (C. Harald Koch) Organization: Alias Research, Inc., Toronto, Canada Lines: 18 In article <8911301944.AA11476@kailand.kai.com> pwolfe@kailand.kai.com (Patrick Wolfe) writes: >I installed YP (Yellow Pages) on our network this week, and RCS V4.2 commands >started crashing with segmentation faults. I found (from the getpwent(3) >online manpage) that SGI ships two versions of the "getpw*" calls, one that >understands YP and one that doesn't? Once I learned this, it was trivial to >fix the Makefile and recompile, but I can't help wonder why anyone would want >to ship (and maintain) two separate versions? This brings up a question I have been meaning to ask: Does SGI compile their standard UNIX programs with YP support? login works, but it appears that csh was not compiled with YP; ~user complains "no such user" when that user's password file entry is a YP reference. -- C. Harald Koch Alias Research, Inc., Toronto ON Canada chk%alias@csri.utoronto.ca chk@gpu.utcs.toronto.edu chk@chk.mef.org "There is no problem, no matter how large or how small, that cannot be solved by a suitable application of high explosives." -Leo Graf, 2298