From patchwork Wed Jul 3 10:54:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 7903 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4WDc931VKmz3wwl for ; Wed, 3 Jul 2024 10:54:15 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4WDc914wNjz1ZF; Wed, 3 Jul 2024 10:54:13 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4WDc913gbhz33nD; Wed, 3 Jul 2024 10:54:13 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4WDc8z3Pvvz2yJC for ; Wed, 3 Jul 2024 10:54:11 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4WDc8y1XPVznC for ; Wed, 3 Jul 2024 10:54:09 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1720004050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FpvzO6s6xiLNV0xIOljLbcLIUnQWv4sYwjCr0c9xaL4=; b=S6XXs+i3PeKMAtFonNY07BDDht8wcusejKQYsInsmbD1HJGt2u1QVZLnXZWHbTofIwj4GJ JNafO/Kd1tNuBkCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1720004050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FpvzO6s6xiLNV0xIOljLbcLIUnQWv4sYwjCr0c9xaL4=; b=eZ/jRGvZ2mb40/FXjrcoFX6AbZ99VgR7FiGYUGngqotBbMcwbWSb1YMbejiQpJcTosKbss QPPzyXcX8BnNU4ZaDvu3ICJFIyp3WwCTCY9zteiXmAo4C5CD2yndOGhC06r4whCNFf3r6K hnfFQpoAOLUnlePx+ij2XYgjjxIt3ixnMQ1Uw2VS8IjYzRB3MvXqFuKz+H0Q9ArtZ7nIkJ 529/0Sp9n4N71a3sPzCXRr4UJUI60Xz8N43FciZ34ZrAN4PQfWsmXAj9pFpVqN7RaWuJky l5xR2uCeepMOarsYWVTDj+Cn4+orBrvPotEJhPnREnuzR82JvrfNi23QfWSCIw== Message-ID: Date: Wed, 3 Jul 2024 10:54:00 +0000 MIME-Version: 1.0 To: "IPFire: Development" From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] Core Update 187: Rewrite the SSH configuration on update Message-ID-Hash: MKBVZREV3S6EN2CYS52NUEFVVIYKY5CC X-Message-ID-Hash: MKBVZREV3S6EN2CYS52NUEFVVIYKY5CC X-MailFrom: peter.mueller@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Peter Müller --- config/rootfiles/core/187/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rootfiles/core/187/update.sh b/config/rootfiles/core/187/update.sh index 5687474b9..e0a977290 100644 --- a/config/rootfiles/core/187/update.sh +++ b/config/rootfiles/core/187/update.sh @@ -49,6 +49,9 @@ ldconfig # Filesytem cleanup /usr/local/bin/filesystem-cleanup +# Apply local configuration to sshd_config +/usr/local/bin/sshctrl + # Start services /etc/init.d/apache restart /etc/init.d/unbound restart