Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 23:10:15 -0500 (CDT)
From:      gil@arlut.utexas.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/18961: sshd does not print <nl> before motd
Message-ID:  <200006020410.XAA32495@dulltest.arlut.utexas.edu>

next in thread | raw e-mail | index | archive | help

>Number:         18961
>Category:       bin
>Synopsis:       sshd does not print <nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006020410.XAA32495>