From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/support/ Date: Sun, 20 Nov 2022 00:21:27 +0000 (UTC) [thread overview] Message-ID: <1668728465.ca8ec7382a0b8c06b9bd3b69e5d7a791e0fa8915.mattst88@gentoo> (raw) commit: ca8ec7382a0b8c06b9bd3b69e5d7a791e0fa8915 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Nov 15 02:20:21 2022 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Nov 17 23:41:05 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ca8ec738 targets: Fix enabling PermitRootLogin The default changed to "prohibit-password" many moons ago, so our ISOs would not have allowed root logins if not for net-misc/openssh's IUSE=livecd, which handles this in the ebuild. Let's go ahead and fix it, so that we can consider removing openssh's livecd USE flag which would allow us to avoid rebuilding the package for the ISO. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> targets/support/livecdfs-update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index b7ead552..3f47012b 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -7,7 +7,8 @@ source /tmp/chroot-functions.sh # Allow root logins to our CD by default if [ -e /etc/ssh/sshd_config ] then - sed -i 's:^#PermitRootLogin\ yes:PermitRootLogin\ yes:' \ + sed -i \ + -e '/^#PermitRootLogin/c# Allow root login with password on livecds.\nPermitRootLogin Yes' \ /etc/ssh/sshd_config fi
WARNING: multiple messages have this Message-ID (diff)
From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ Date: Thu, 17 Nov 2022 23:42:38 +0000 (UTC) [thread overview] Message-ID: <1668728465.ca8ec7382a0b8c06b9bd3b69e5d7a791e0fa8915.mattst88@gentoo> (raw) Message-ID: <20221117234238.4dHV6My1OEzBGa4Z-ej0YJsmOJSNr1V49_BHyhA2X6o@z> (raw) commit: ca8ec7382a0b8c06b9bd3b69e5d7a791e0fa8915 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Nov 15 02:20:21 2022 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Nov 17 23:41:05 2022 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ca8ec738 targets: Fix enabling PermitRootLogin The default changed to "prohibit-password" many moons ago, so our ISOs would not have allowed root logins if not for net-misc/openssh's IUSE=livecd, which handles this in the ebuild. Let's go ahead and fix it, so that we can consider removing openssh's livecd USE flag which would allow us to avoid rebuilding the package for the ISO. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> targets/support/livecdfs-update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/targets/support/livecdfs-update.sh b/targets/support/livecdfs-update.sh index b7ead552..3f47012b 100755 --- a/targets/support/livecdfs-update.sh +++ b/targets/support/livecdfs-update.sh @@ -7,7 +7,8 @@ source /tmp/chroot-functions.sh # Allow root logins to our CD by default if [ -e /etc/ssh/sshd_config ] then - sed -i 's:^#PermitRootLogin\ yes:PermitRootLogin\ yes:' \ + sed -i \ + -e '/^#PermitRootLogin/c# Allow root login with password on livecds.\nPermitRootLogin Yes' \ /etc/ssh/sshd_config fi
next reply other threads:[~2022-11-20 0:21 UTC|newest] Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-20 0:21 Matt Turner [this message] 2022-11-17 23:42 ` [gentoo-commits] proj/catalyst:master commit in: targets/support/ Matt Turner -- strict thread matches above, loose matches on Subject: below -- 2023-05-11 14:47 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2023-05-11 14:47 Matt Turner 2022-11-28 20:38 Matt Turner 2022-11-28 20:38 Matt Turner 2022-11-28 20:38 Matt Turner 2022-11-22 3:49 Matt Turner 2022-11-22 3:49 Matt Turner 2022-11-20 1:43 Matt Turner 2022-11-20 0:21 Matt Turner 2022-11-20 0:21 Matt Turner 2022-11-20 0:21 Matt Turner 2022-11-17 23:42 [gentoo-commits] proj/catalyst:master " Matt Turner 2022-11-20 0:21 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2022-11-17 23:42 [gentoo-commits] proj/catalyst:master " Matt Turner 2022-11-20 0:21 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2022-01-30 20:42 Matt Turner 2022-01-30 20:42 Matt Turner 2021-07-29 22:00 [gentoo-commits] proj/catalyst:master " Matt Turner 2022-01-30 20:42 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2021-07-29 1:22 [gentoo-commits] proj/catalyst:master " Matt Turner 2022-01-30 20:42 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2021-06-10 0:48 Matt Turner 2020-12-19 19:56 Matt Turner 2020-12-19 19:56 Matt Turner 2020-10-29 21:00 Matt Turner 2020-10-29 21:00 Matt Turner 2020-10-29 21:00 Matt Turner 2020-10-29 21:00 Matt Turner 2020-10-29 21:00 Matt Turner 2020-10-28 20:51 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-10-28 20:51 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-10-22 18:06 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-10-22 18:06 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-10-22 18:06 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-10-20 8:30 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-10-29 21:00 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-05-21 20:25 [gentoo-commits] proj/catalyst:master " Matt Turner 2020-05-20 1:52 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-05-20 3:39 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-05-20 1:52 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-05-17 3:26 [gentoo-commits] proj/catalyst:master " Matt Turner 2020-05-16 6:55 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner 2020-05-16 6:54 [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner 2020-05-16 6:55 ` [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1668728465.ca8ec7382a0b8c06b9bd3b69e5d7a791e0fa8915.mattst88@gentoo \ --to=mattst88@gentoo.org \ --cc=gentoo-commits@lists.gentoo.org \ --cc=gentoo-dev@lists.gentoo.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox