From owner-freebsd-current@FreeBSD.ORG Fri Mar 27 18:20:42 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 359381065781 for ; Fri, 27 Mar 2009 18:20:42 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 78B6D8FC24 for ; Fri, 27 Mar 2009 18:20:41 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id F2F0346B55; Fri, 27 Mar 2009 14:20:40 -0400 (EDT) Date: Fri, 27 Mar 2009 18:20:40 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ed Schouten In-Reply-To: <20090327154410.GL73108@hoeg.nl> Message-ID: References: <370833.32038.qm@web63903.mail.re1.yahoo.com> <20090327154410.GL73108@hoeg.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Barney Cordoba , mail25@bzerk.org, current@freebsd.org Subject: Re: Telnet root login X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 27 Mar 2009 18:21:06 -0000 On Fri, 27 Mar 2009, Ed Schouten wrote: > * Robert Watson wrote: >> if ((tty = strrchr(ttyn, '/')) != NULL) >> ++tty; >> else >> tty = ttyn; > > Does the attached patch for login(1) fix the issues you're seeing? If it > does, I'll commit it to SVN. Thanks! This seems to fix the problem for me -- thanks Ed! Robert N M Watson Computer Laboratory University of Cambridge