From owner-freebsd-questions Thu Feb 20 8:16:21 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B5C37B401 for ; Thu, 20 Feb 2003 08:16:20 -0800 (PST) Received: from mx1.lphp.org (APastourelles-107-1-1-154.abo.wanadoo.fr [80.13.78.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A9C343FAF for ; Thu, 20 Feb 2003 08:16:19 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.6/8.12.6) with ESMTP id h1KGGFQ2022202; Thu, 20 Feb 2003 17:16:15 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Scott Mitchell Subject: Re: MINUID in NIS Makefile Date: Thu, 20 Feb 2003 17:16:15 +0100 User-Agent: KMail/1.5 Cc: freebsd References: <200302201226.37661.ajacoutot@lphp.org> <200302201630.21546.ajacoutot@lphp.org> <20030220154540.GB75164@tuatara.fishballoon.org> In-Reply-To: <20030220154540.GB75164@tuatara.fishballoon.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302201716.15486.ajacoutot@lphp.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 20 February 2003 16:45, Scott Mitchell wrote: > You would add one line to the end of your /etc/master.passwd to tell it to > pick up the entries from /var/yp/master.passwd as well (assuming you want > your NIS users to be able to log on to the NIS server). Any users defined > in /etc/master.passwd will be 'local' users, those in /var/yp/master.passwd > will be exported to NIS clients. You can do a similar things with the > groups database as well. ??? I know that. But still, you first need to copy /etc/master.passwd to /var/yp, then edit /var/yp/master.passwd before exporting to clients. I think it is easier to say "hey, just pick up UID higher then 1000 in /etc/master.passwd then create passwd.by*" > pw(8) will let you set max/min UID and GID ranges and will happily > manipulate both the local and NIS passwd files. Allright, I'll have a look at it. > You want to read the pw(8), passwd(5) and group(5) manpages (especially the > bits on NIS/YP interaction) and section 19.8 of the handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/nis.html I already have... otherwise I wouldn't ask on the list ;-) Thanks for the help... Antoine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message