From owner-freebsd-stable@freebsd.org Tue Apr 5 01:09:53 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85270B02050 for ; Tue, 5 Apr 2016 01:09:53 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D6871B91 for ; Tue, 5 Apr 2016 01:09:52 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 1C3762845C for ; Tue, 5 Apr 2016 03:09:51 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 6A3D42845A for ; Tue, 5 Apr 2016 03:09:50 +0200 (CEST) Message-ID: <5703105E.8090900@quip.cz> Date: Tue, 05 Apr 2016 03:09:50 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: SSHd in FreeBSD 10.3 complains about PrintLastLog References: <57030F05.5010009@quip.cz> In-Reply-To: <57030F05.5010009@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 01:09:53 -0000 Miroslav Lachman wrote on 04/05/2016 03:04: > I had "PrintLastLog yes" in my sshd_config for many years but after > upgrade to 10.3 I got this error message: > > /etc/ssh/sshd_config line 112: Unsupported option PrintLastLog > > It is confusing because "#PrintLastLog yes" is still included in default > sshd_config file and mentioned in manpage. > > Is it error in default config or error in sshd? What should be fixed? Now I found in /usr/src/crypto/openssh/servconf.c #ifdef DISABLE_LASTLOG { "printlastlog", sUnsupported, SSHCFG_GLOBAL }, #else { "printlastlog", sPrintLastLog, SSHCFG_GLOBAL }, #endif Does it means that new sshd in FreeBSD 10.3 was (un)intentionally compiled with "DISABLE_LASTLOG" (--disable-lastlog) Miroslav Lachman