why separate getpwent routines for YP?

C. Harald Koch chk at alias.UUCP
Tue Dec 5 04:32:17 AEST 1989


In article <8911301944.AA11476 at kailand.kai.com> pwolfe at 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 at csri.utoronto.ca      chk at gpu.utcs.toronto.edu      chk at 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



More information about the Comp.sys.sgi mailing list