From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 17:06:44 2004 Return-Path: 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 B75CD16A4CF for ; Mon, 27 Sep 2004 17:06:44 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28A8343D5F for ; Mon, 27 Sep 2004 17:06:44 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i8RH6foV034447; Mon, 27 Sep 2004 12:06:41 -0500 (CDT) (envelope-from dan) Date: Mon, 27 Sep 2004 12:06:41 -0500 From: Dan Nelson To: Tillman Hodgson Message-ID: <20040927170641.GB90839@dan.emsphone.com> References: <20040927164329.GA83726@seekingfire.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040927164329.GA83726@seekingfire.com> X-OS: FreeBSD 5.3-BETA5 X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: FreeBSD-Questions Subject: Re: nsswitch.conf: How does one use netgroups/over-ride passwd fields? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 17:06:44 -0000 In the last episode (Sep 27), Tillman Hodgson said: > I've been poking through the nsswitch.conf manpage in preparation for > moving some machiens to 5.3 (from 4.10). This machines participate in > an NIS domain which uses netgroups. It also over-rides passwd fields > (like the shell field) in certain cases. > > How does one do that with nsswitch.conf if I want to avoid compat mode? I don't think you can. netgroups (and +/- records and field overriding) only make sense in compat mode. passwd and group both default to "compat", and passwd_compat and group_compat both default to "nis", so you shouldn't have to make any changes to nsswitch.conf. -- Dan Nelson dnelson@allantgroup.com