From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 11:36:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E52EC16A417 for ; Tue, 16 Oct 2007 11:36:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id C6AF113C44B for ; Tue, 16 Oct 2007 11:36:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from Lowell-Desk.lan (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id A3C472842F; Tue, 16 Oct 2007 07:36:31 -0400 (EDT) Received: by Lowell-Desk.lan (Postfix, from userid 1147) id 25A271CC45; Tue, 16 Oct 2007 07:36:30 -0400 (EDT) To: Manolis Kiagias 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> From: Lowell Gilbert Date: Tue, 16 Oct 2007 07:36:30 -0400 In-Reply-To: <47143E1A.1080000@otenet.gr> (Manolis Kiagias's message of "Tue\, 16 Oct 2007 07\:29\:14 +0300") Message-ID: <44myuj2sw1.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: NIS interoperability with Linux, was Re: Following directions doesn't seem to work: Adding users in NIS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 11:36:35 -0000 Manolis Kiagias 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).