Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D42D2E00D48; Fri, 20 Oct 2017 05:41:52 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [194.211.207.200 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 1012 seconds by postgrey-1.32 at yocto-www; Fri, 20 Oct 2017 05:41:51 PDT Received: from smtp1.eteinen.fi (smtp1.eteinen.fi [194.211.207.200]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8E415E00D46 for ; Fri, 20 Oct 2017 05:41:51 -0700 (PDT) Received: from syi-ogw2-997.syi.inet.fi ([176.72.243.229] helo=LenovoPC) by smtp1.eteinen.fi with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1e5WMC-0005bJ-5d for yocto@yoctoproject.org; Fri, 20 Oct 2017 15:24:56 +0300 From: "Andreas Enbacka" To: Date: Fri, 20 Oct 2017 15:24:58 +0300 Message-ID: <015601d3499e$719866f0$54c934d0$@gasera.fi> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdNJngGCZItGU7saRgmTCh4BkwpLMw== Subject: Overriding openssh sshd_config file in custom recipe X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 12:41:52 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0157_01D349B7.96E5ED10" Content-Language: fi ------=_NextPart_000_0157_01D349B7.96E5ED10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I am trying to create a .bbappend file to customize the default sshd_config file as part of the default openssh package in Yocto Fido. In the custom file I attempt to disable root login access by setting the PermitRootLogin to No. However, after building and installing the image on the custom SMARC board, the content of the sshd_config file still enables login (PermitRootLogin Yes). I have checked the content of the installed rootfs before deploying to the board, and the content of the sshd_config file is correct (disables root login). What could be the cause of this? Is some other process modifying the content of the config file? Best regards, Andreas Enbacka ------=_NextPart_000_0157_01D349B7.96E5ED10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I am trying to create a .bbappend file to customize the = default sshd_config file as part of the default openssh package in Yocto = Fido. In the custom file I attempt to disable root login access by = setting the PermitRootLogin to No. However, after building and = installing the image on the custom SMARC board, the content of the = sshd_config file still enables login (PermitRootLogin Yes). I have = checked the content of the installed rootfs before deploying to the = board, and the content of the sshd_config file is correct (disables root = login). What could be the cause of this? Is some other process modifying = the content of the config file?

 

Best = regards,

Andreas Enbacka

 

------=_NextPart_000_0157_01D349B7.96E5ED10--