+@ line directives in a YP master's /etc/passwd file.
Eric Ho
eric at picard.sbi.com
Mon Apr 29 05:20:00 AEST 1991
If one can put +@ directives in a YP master's /etc/passwd file (or
whatever file one chooses to build its YP passwd maps), would this creates
a mutually recursive loop or does Sun's C library routines smart enough to
detect and resolve this ?
e.g.
A YP master called Eng-Sparc is in say the Engineering netgroup and there
is another YP master machine called Fin-Motorola is in say the Finance
netgroup. Further assume that both machines build their YP passwd maps
from their local /etc/passwd files.
Now, what if Eng-Sparc's /etc/passwd file contains + at Finance and
Fin-Motorola's /etc/passwd file contains + at Engineering. Would this
creates a loop when one is calling getpwnam() et al ?
Note that this is a simple single cycle (tight) loop, one can creates a
more complicated directed graph that has loops.
I guess that it all depends on what information getpwnam() gets when it
approaches the +@ line/directive.
Any info/pointers appreciated.
+ Eric Ho Email: eric at sbi.com
More information about the Comp.sys.sun
mailing list