nis/yp question about password file

Jacques A. Vidrine nectar at FreeBSD.org
Tue Sep 21 14:48:56 PDT 2004


On Tue, Sep 21, 2004 at 05:38:53PM +0200, Gerrit Kühn wrote:
> On Tue, 21 Sep 2004 17:41:02 -0700 Evren Yurtesen <yurtesen at ispro.net.tr>
> wrote about nis/yp question about password file:
> 
> 
> EY> can anybody tell what changed in nis/yp that it doesnt work as before 
> EY> anymore?
> 
> 5.x is featuring /etc/nsswitch.conf
> Did you create one during your update process? Mine looks like this and
> works fine with yp:
> 
> cat /etc/nsswitch.conf                    
> group:          nis files
> group_compat:   nis
> hosts:          files nis dns
> passwd:         nis files
> passwd_compat:  nis

Your "group_compat" and "passwd_compat" lines will never be used.
The original poster will need to use an nsswitch.conf that either (a)
has no "group" or "passwd" lines, or (b) has the following:

   group: compat
   group_compat: nis
   passwd: compat
   passwd_compat: nis

Also see nsswitch.conf(5).

Cheers,
-- 
Jacques A Vidrine / NTT/Verio
nectar at celabo.org / jvidrine at verio.net / nectar at FreeBSD.org


More information about the freebsd-current mailing list