From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 08:49:59 2003 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 A80CA37B401 for ; Thu, 12 Jun 2003 08:49:59 -0700 (PDT) Received: from sinfonix.rz.tu-clausthal.de (sinfonix.rz.tu-clausthal.de [139.174.2.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 393A943F3F for ; Thu, 12 Jun 2003 08:49:58 -0700 (PDT) (envelope-from stefan.schwarzer@tu-clausthal.de) Received: from idefix.rz.tu-clausthal.de (idefix.rz.tu-clausthal.de [139.174.2.22]) by sinfonix.rz.tu-clausthal.de (8.9.3/8.9.3) with ESMTP id RAA06224; Thu, 12 Jun 2003 17:49:56 +0200 (MET DST) Received: from localhost (svss@localhost) by idefix.rz.tu-clausthal.de (8.11.6+Sun/8.9.3) with ESMTP id h5CFnuF19828; Thu, 12 Jun 2003 17:49:56 +0200 (MEST) X-Authentication-Warning: idefix.rz.tu-clausthal.de: svss owned process doing -bs Date: Thu, 12 Jun 2003 17:49:55 +0200 (MEST) From: Stefan Schwarzer To: questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: No login shell with ssh/nis on FreeBSD 5.1 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: Thu, 12 Jun 2003 15:49:59 -0000 Hi, today, I used cvsup to update a server from FreeBSD 5.0 Release to FreeBSD 5.1 Release. I didn't forget to run mergemaster. Now I find, I can no longer get a login shell for a NIS-supported account if I try to log into the server via ssh: | user@client:~$ ssh server | user@server.domain's password: | Connection to server closed by remote host. | Connection to server closed. However, the authentication seems to work, as I see it in /var/log/auth.log on the server. Also, I can invoke commands via ssh (just not get a login shell): | user@client:~$ ssh server ls | user@server.domain's password: | [home directory listing is shown] On the other hand, a ssh login for a user with an account locally on the server works, as does a (temporarily tested) telnet login of the NIS user. Console logins work, too, for both local and NIS users. Summary in a table: command user known by NIS user known locally (w.r.t. server) ssh doesn't work works ssh ls works works telnet works works console login works works Can anyone help? Please reply not only to the list but also by private mail because I'm not subscribed to the list. Thank you! Stefan