Subject: Re: using NIS
To: Mark Francis <mjf@lavalink.com.au>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 03/07/1999 23:20:17
On Mon, 8 Mar 1999, Mark Francis wrote:

> I've got ypbind talking to a NIS server (linux box), and I can ypcat 
> all the maps without any problem.
> 
> How do I now get NetBSD to pay attention to NIS maps for things like 
> the passwd, group and hosts files? Can't seem to find an 
> nsswitch.conf file.

I don't think NetBSD uses nsswitch.conf (corrections please if I'm wrong).

What I've done to make the NIS stuff go is things like add to /etc/passwd:

+@sys-users:*:0:0:::

and
/etc/master.passwd
+@sys-users:::::::::


to make the users in the sys-users netgroup get added.  For the
/etc/hosts, put
a

+:

at the end.

since you have ypcat going, I assume you have your default domain set and
the right settings in /etc/rc.conf.

for better info, try

man 5 group
man 5 passwd

man yp


-Dan