From owner-freebsd-current@FreeBSD.ORG Sat May 14 12:22:38 2005 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 5248916A4D0 for ; Sat, 14 May 2005 12:22:38 +0000 (GMT) Received: from bremen.shuttle.de (bremen.shuttle.de [194.95.249.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 048D243D2F for ; Sat, 14 May 2005 12:22:37 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: by bremen.shuttle.de (Postfix, from userid 10) id 3AE8E3B963; Sat, 14 May 2005 14:22:35 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) j4ECMJ2Y001926; Sat, 14 May 2005 14:22:19 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.13.3/8.13.3/Submit) id j4ECMJA5001925; Sat, 14 May 2005 14:22:19 +0200 (CEST) (envelope-from schweikh) Date: Sat, 14 May 2005 14:22:19 +0200 From: Jens Schweikhardt To: Tai-hwa Liang Message-ID: <20050514122219.GB1621@schweikhardt.net> References: <0505141523488.66026@www.mmlab.cse.yzu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0505141523488.66026@www.mmlab.cse.yzu.edu.tw> User-Agent: Mutt/1.5.9i cc: freebsd-current@FreeBSD.org cc: Daniel Eriksson Subject: Re: PAM breakage 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: Sat, 14 May 2005 12:22:38 -0000 On Sat, May 14, 2005 at 03:25:13PM +0800, Tai-hwa Liang wrote: # On Sat, 14 May 2005, Daniel Eriksson wrote: # > # >Somewhere between 2005.05.12.19.00.00 and 2005.05.13.18.10.00 PAM (or # >something PAM relies on) got messed up. Installing a system with the later # >date will prevent you from logging in, both via ssh and on the console. # >Using ssh results in the following console output: # > # >sshd[530]: fatal: openpty returns device for which ttyname fails. # >sshd[530]: error: chown 0 0 failed: No such file or directory # >sshd[530]: error: chmod 0666 failed: No such file or directory # # Does backing out ttyname related changes work for you? FWIW, the console message from syslog reads (from memory) ...root: 5 login failures on tty??... eg two question marks instead of the correct name like "ttyv0". Maybe that gives a clue what's wrong with the tty changes. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)