Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2007 07:36:30 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Manolis Kiagias <sonicy@otenet.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS
Message-ID:  <44myuj2sw1.fsf@Lowell-Desk.lan>
In-Reply-To: <47143E1A.1080000@otenet.gr> (Manolis Kiagias's message of "Tue\, 16 Oct 2007 07\:29\:14 %2B0300")
References:  <20071015054707.GA34948@parts-unknown.org> <47138DE7.80800@otenet.gr> <20071015190846.GB86225@parts-unknown.org> <4713BF9F.3050803@otenet.gr> <20071015204022.GA76464@parts-unknown.org> <200710160126.l9G1QgdW082501@banyan.cs.ait.ac.th> <47143E1A.1080000@otenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Manolis Kiagias <sonicy@otenet.gr> writes:

> Olivier Nicole wrote:
>>> Linux doesn't normally use master.passwd.  If I recall correctly, it
>>> uses /etc/shadow instead (but I don't have such a box at hand right now
>>> to check).  And yes, the internal format is different (and, again, I don't
>>> remember details).
>>>     
>>
>> If I am not wrong, NIS does not know anything about master.passwd or
>> shadow, it has only passwd.byname passwd.byuid as password maps, both
>> maps including password in them.
>>
>> Olivier

> You are probably right, I don't remember the exact files right now, the
> thing is the maps are not linux compatible, so if anyone has a NIS
> Makefile for this, I'd be glad to get a copy. I already tried a patch I
> found but was not successful.

Don't patch anything.  Just edit /var/yp/Makefile to remove the
comment character from the UNSECURE line, rebuild, and you're done.  

This is fully explained inline in that file, as well as in the manual
for ypserv(8).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44myuj2sw1.fsf>