From gil@dulltest.arlut.utexas.edu  Thu Jun  1 21:09:10 2000
Return-Path: <gil@dulltest.arlut.utexas.edu>
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 <FreeBSD-gnats-submit@freebsd.org>; 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
Sender: gil@dulltest.arlut.utexas.edu
Reply-To: gil@arlut.utexas.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: sshd does not print <nl> before motd
X-Send-Pr-Version: 3.2

>Number:         18961
>Category:       bin
>Synopsis:       sshd does not print <nl> before motd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    green
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 01 21:10:01 PDT 2000
>Closed-Date:    Sat Mar 15 23:22:26 PST 2003
>Last-Modified:  Sat Mar 15 23:22:26 PST 2003
>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:
Responsible-Changed-From-To: freebsd-bugs->kris 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Aug 7 06:46:44 PDT 2000 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18961 
Responsible-Changed-From-To: kris->green 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sun Nov 12 18:30:59 PST 2000 
Responsible-Changed-Why:  
Green is taking over OpenSSH 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18961 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Sat Mar 15 23:22:13 PST 2003 
State-Changed-Why:  
Submitter reports this problem has been resolved 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18961 
>Unformatted:
