From owner-freebsd-current@FreeBSD.ORG Fri Apr 18 12:38:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32A0A37B401 for ; Fri, 18 Apr 2003 12:38:30 -0700 (PDT) Received: from gw.nectar.cc (gw.nectar.cc [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68E2943FDF for ; Fri, 18 Apr 2003 12:38:29 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (verified OK)) by gw.nectar.cc (Postfix) with ESMTP id EABA766; Fri, 18 Apr 2003 14:38:28 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 4660278C66; Fri, 18 Apr 2003 14:38:28 -0500 (CDT) Date: Fri, 18 Apr 2003 14:38:28 -0500 From: "Jacques A. Vidrine" To: Shizuka Kudo Message-ID: <20030418193828.GA53590@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Shizuka Kudo , freebsd-current@FreeBSD.org References: <20030418162013.GB45899@madman.celabo.org> <20030418191847.97300.qmail@web11406.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030418191847.97300.qmail@web11406.mail.yahoo.com> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.3i-ja.1 cc: freebsd-current@FreeBSD.org Subject: Re: HEADS UP: new NSS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 19:38:30 -0000 On Fri, Apr 18, 2003 at 12:18:47PM -0700, Shizuka Kudo wrote: > Hi Jacques, > > Thanks for your quick fix. I just tried and it works now. The > only question I have is that the same error occurs if I deleted > /etc/nsswitch.conf. Is it the intended behaviour? > > %ls -al /etc/nsswitch.conf > ls: /etc/nsswitch.conf: No such file or directory > %passwd > passwd: can't change little green men's passwords (0x3df) Depends. Are you using `compat' mode? When there is no /etc/nsswitch.conf, then the defaults are as listed in nsswitch.conf(5), in particular: passwd: compat passwd_compat: nis But, I would have expected that you would have either gotten `passwd: who are you?', or it would have succeeded (if you have a `+' entry in passwd(5)). What is your configuration? i.e. do you have a `+' entry, or not? do you have a template entry? do you have the user in both passwd(5) and NIS, or only one or the other? Cheers, -- Jacques A. Vidrine http://www.celabo.org/ NTT/Verio SME . FreeBSD UNIX . Heimdal Kerberos jvidrine@verio.net . nectar@FreeBSD.org . nectar@kth.se