From owner-freebsd-stable@FreeBSD.ORG Sun Feb 6 21:07:57 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F0E316A4CE for ; Sun, 6 Feb 2005 21:07:57 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DF7943D31 for ; Sun, 6 Feb 2005 21:07:56 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id A31F21FF9AB; Sun, 6 Feb 2005 22:07:54 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id A7BD81FF9A6; Sun, 6 Feb 2005 22:07:52 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 27B6B15389; Sun, 6 Feb 2005 21:07:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1D27C15329; Sun, 6 Feb 2005 21:07:38 +0000 (UTC) Date: Sun, 6 Feb 2005 21:07:38 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Andrew Konstantinov In-Reply-To: <20050206205207.GA764@warrior.kableu.com> Message-ID: References: <20050130084359.GA36069@warrior.kableu.com> <20050202070820.GA26302@warrior.kableu.com> <20050206061245.GA1774@warrior.kableu.com> <20050206090524.GA79029@warrior.kableu.com> <20050206205207.GA764@warrior.kableu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-stable@freebsd.org Subject: Re: 5.3 -> 5 : sshd multiple log entries & login_getclass: unknown class 'root' X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 21:07:57 -0000 On Sun, 6 Feb 2005, Andrew Konstantinov wrote: > On Sun, Feb 06, 2005 at 12:29:23PM -0800, Doug White wrote: > > On Sun, 6 Feb 2005, Andrew Konstantinov wrote: > > > > > *Possible* exact reproduction steps: > > > - install RELENG_5 > > > - rebuild RELENG_5 with "NO_NIS=true" in /etc/make.conf > > > - restart sshd service > > > > Sorry, no dice. I had to set "PermitRootLogin yes" in > > /etc/ssh/sshd_config but logging in as root with password succeeds with no > > login class warning. Upgraded from a RELENG_5 from yesterday to one about > > 90 minutes old. > > > > What is the contents of /etc/nsswitch.conf? bz is telling me that if you > > still have 'nis' in the lines in nsswitch and you compile with NO_NIS that > > you'll get wierd user lookup errors. > > > > Also what are the contents of /etc/make.conf? > > #--- The nsswitch.conf: > group: compat > group_compat: nis > hosts: files dns > networks: files > passwd: compat > passwd_compat: nis > shells: files > #---------------------- > > Hmm, I completely forgot about that one. :( I guess 'nis' should have been > switched to 'files' whenever system is compiled with "NO_NIS=true". it's not documented - sorry, will do that. change it to sth like: group: files hosts: files dns networks: files passwd: files shells: files w/o this change I can see sth like this when doing passwd auth: 'sshd[1995]: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found' But I suspect this will not help with your problem. Did you change your login.conf? Could you mail me (private mail please) the library with which you can see the problems? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT