From owner-freebsd-bugs Thu Jun 1 21:10: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CA02737BE12 for ; Thu, 1 Jun 2000 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA87175; Thu, 1 Jun 2000 21:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from dulltest.arlut.utexas.edu (nat-166-27.arlut.utexas.edu [129.116.166.27]) by hub.freebsd.org (Postfix) with ESMTP id F3F2B37BDE8 for ; Thu, 1 Jun 2000 21:09:09 -0700 (PDT) (envelope-from gil@dulltest.arlut.utexas.edu) Received: (from gil@localhost) by dulltest.arlut.utexas.edu (8.9.3/8.9.3) id XAA32495; Thu, 1 Jun 2000 23:10:15 -0500 (CDT) (envelope-from gil) Message-Id: <200006020410.XAA32495@dulltest.arlut.utexas.edu> Date: Thu, 1 Jun 2000 23:10:15 -0500 (CDT) From: gil@arlut.utexas.edu Reply-To: gil@arlut.utexas.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/18961: sshd does not print before motd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18961 >Category: bin >Synopsis: sshd does not print before motd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 01 21:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Gil Kloepfer >Release: FreeBSD 4.0-RELEASE i386 >Organization: University of Texas at Austin - Applied Research Laboratories >Environment: All platforms, OpenSSH distributed from crypto distribution >Description: Unlike reference ssh and /usr/bin/login, OpenSSH as distributed in FreeBSD 4.0-RELEASE does not print an extra newline before printing /etc/motd >How-To-Repeat: Log-onto system using ssh >Fix: Unified diff as follows: --- sshd.c.ORIG Thu Mar 9 08:52:31 2000 +++ sshd.c Thu Jun 1 22:12:06 2000 @@ -2384,6 +2384,7 @@ "Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994", "The Regents of the University of California. ", "All rights reserved."); + (void)putc('\n', stdout); } #endif /* LOGIN_CAP */ /* >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message