From owner-freebsd-questions Thu Feb 20 7:30:38 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 6EE9937B401 for ; Thu, 20 Feb 2003 07:30:37 -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 A1E0043F75 for ; Thu, 20 Feb 2003 07:30:35 -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 h1KFUMQ2021868; Thu, 20 Feb 2003 16:30:22 +0100 (CET) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: Dan Nelson Subject: Re: MINUID in NIS Makefile Date: Thu, 20 Feb 2003 16:30:21 +0100 User-Agent: KMail/1.5 Cc: freebsd References: <200302201226.37661.ajacoutot@lphp.org> <20030220151739.GM13096@dan.emsphone.com> In-Reply-To: <20030220151739.GM13096@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302201630.21546.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:17, Dan Nelson wrote: > In the last episode (Feb 20), Antoine Jacoutot said: > > Is there a way to use the MINUID and MINGID options in a NIS Makefile > > or is it Linux only ? > You'll have to tell us what those options mean before we can tell you > whether there is an equivalent. Of course, I'm sorry... The MINUID and MINGID allow to create passwd.by* only with account which UID are equal or higher than MINUID and group.by* only with groups which GID are equal or higher than MINGID. Extract from a Debian NIS Makefile: # We do not put password entries with lower UIDs (the root and system # entries) in the NIS password database, for security. MINUID is the # lowest uid that will be included in the password maps. # MINGID is the lowest gid that will be included in the group maps. You don't need to copy > /var/yp/master.passwd to edit it; just make the change and run "make". So I would change the original /etc/master.passwd ?????? Is that OK, it looks like it's not. Antoine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message