From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AAC7C198005 for ; Sun, 3 Mar 2013 13:01:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A84AE07A5; Sun, 3 Mar 2013 13:01:43 +0000 (UTC) Received: from vms173021pub.verizon.net (vms173021pub.verizon.net [206.46.173.21]) by pigeon.gentoo.org (Postfix) with ESMTP id EA1CAE07A5 for ; Sun, 3 Mar 2013 13:01:42 +0000 (UTC) Received: from odin.tremily.us ([unknown] [72.68.84.219]) by vms173021.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MJ30081Q5IT8640@vms173021.mailsrvcs.net> for gentoo-catalyst@lists.gentoo.org; Sun, 03 Mar 2013 07:01:42 -0600 (CST) Received: by odin.tremily.us (Postfix, from userid 1000) id 63BF18EB799; Sun, 03 Mar 2013 08:01:38 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; t=1362315699; bh=tLu+DOG2po/Pohebgz1v64rXlUXO+UpX/nD/yzKey7Y=; h=From:To:Cc:Subject:Date; b=Cx5Ko4P1bhfgmXN1NadKTkQfnoTEVn7F9WSKElMU005PQGo8jiEzoDo8v+FxO+PFi OcC0qSgEM3BnAGjv2ckb0z3Y6N24kAFchw0DhpD/P+eLsmWnnIo53wuOSZFYkiy9Or Xo1XbP9+55SeVhcuqgWl0TihdGStIUV+yyyMU4WQ= From: "W. Trevor King" To: Catalyst Cc: "W. Trevor King" Subject: [gentoo-catalyst] [PATCH] livecdfs-update.sh: Fix '/etc/sshd' check for sshd_config tweaks Date: Sun, 03 Mar 2013 08:01:31 -0500 Message-id: X-Mailer: git-send-email 1.7.12.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: cb6adfc5-eeb2-4c46-abc3-5f4e13d70736 X-Archives-Hash: 3251c25edf4c0c07ff886bcce3c86de7 From: "W. Trevor King" sshd_config lives in /etc/ssh, not /etc/sshd. This typo has been present since the block was introduced by c06264e (Initial import of Catalyst 2.0.0, 2005-04-04), so it's obviously not a widely used feature ;). It might be better to just remove the block entirely. --- targets/support/livecdfs-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 targets/support/livecdfs-update.sh diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh old mode 100644 new mode 100755 index 77d694e..f4b2c45 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -5,7 +5,7 @@ RUN_DEFAULT_FUNCS="no" source /tmp/chroot-functions.sh # Allow root logins to our CD by default -if [ -e /etc/sshd/sshd_config ] +if [ -e /etc/ssh/sshd_config ] then sed -i 's:^#PermitRootLogin\ yes:PermitRootLogin\ yes:' \ /etc/ssh/sshd_config -- 1.8.2.rc0.16.g20a599e