NIS issue

William Bierman wbierman at
Mon Oct 11 11:31:52 PDT 2004

> Interesting...something that pops into my mind is something obvious
> since it was stated in the handbook, but needs to be said
> anyway...when you add stuff to the master.passwd file, do you re-make
> the database?  Also, if you follow the directions in the handbook,
> they suggest you make a different master.passwd file in /var/yp to
> store the accounts that go into nis....I re-wrote the make file
> section for passwd.* and told it to look to /etc/passwd where the UID
> is greater then 1000....and it works great for me...if you'd like a
> copy of the entries in the Makefile, I'll send them to you.  It sounds
> like that's what's going on (and I've had endless students make this
> mistake in class as's a common one).

Yes, I have re-made the database multiple times, and I have copied my
master.passwd to /var/yp beforehand every time I did it.  You make an
interesting suggestion, however.  Is there something magical about the
number 1000 as it pertains to UIDs?  All of my users have UIDs above
this number.  The very odd thing about this issue is the information
that the server is giving out is not on the master anywhere that I can
find.  /var/yp/cluster/master.passwd.* (cluster is my NIS domain)
seems to contain the current and correct information.  I even
attempted a find / -exec grep (on test -r files only) for this
information, and came up with nothing.

Thanks again for your assistance!


More information about the freebsd-questions mailing list