Subject: Re: Netbsd and linux NIS troubles
To: Chris Pinnock <cjep@fawlty.net>
From: Matt Bell <mtbell@micropede.com>
List: netbsd-help
Date: 05/09/2001 14:23:46
Hi,

I have nsswitch.conf set up similar to what you described here. The only
thing is that the netbsd nis server is not sending over a shadow file for
the password lookups its sending over master.passwd which netbsd uses and
is in a differnt format. Is there any way i can convert this master.passwd
file to the format useable for linux.

Once again thanks in advance,
-Matt 



> Try editting /etc/nsswitch.conf on the
Linux box. > 
> There should be some lines in there for controlling database access. See
> the manual page for nsswitch.conf for more details.
> 
> You might want lines (or similar) that read:
> 
> passwd: files nis
> shadow: files nis
> group: files nis
> 
> In this case, the Linux box will use the local password file and 
> then NIS for passwords. Similarly for shadow and group information.
> 
> best wishes,
> -- 
> Chris
>