Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Update sed usage by 'pam-wheel' for sudoers
@ 2026-06-18 10:28 Nate Kent
  2026-06-18 10:45 ` Patchtest results for " patchtest
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Nate Kent @ 2026-06-18 10:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Nate Kent

Fixes Yocto Bug #16321

In version 1.9.17p2, the line that the recipe uses to add the 'wheel'
group to the sudoers file does not exist. This updates the sed usage to
the actual line in question.

Upstream-Status: Innappropriate [oe specific]
Signed-off-by: Nate Kent <nathan@otiv.ai>
---
 meta/recipes-extended/sudo/sudo_1.9.17p2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/sudo/sudo_1.9.17p2.bb b/meta/recipes-extended/sudo/sudo_1.9.17p2.bb
index 7dfa0cef6c..489c0db09d 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.17p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.17p2.bb
@@ -37,7 +37,7 @@ do_install:append () {
 		install -D -m 644 ${UNPACKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo
 		if ${@bb.utils.contains('PACKAGECONFIG', 'pam-wheel', 'true', 'false', d)} ; then
 			echo 'auth       required     pam_wheel.so use_uid' >>${D}${sysconfdir}/pam.d/sudo
-			sed -i 's/# \(%wheel ALL=(ALL) ALL\)/\1/' ${D}${sysconfdir}/sudoers
+			sed -i 's/# \(%wheel ALL=(ALL:ALL) ALL\)/\1/' ${D}${sysconfdir}/sudoers
 		fi
 	fi
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] Update sed usage by 'pam-wheel' for sudoers
@ 2026-06-18  9:59 Nate Kent
  0 siblings, 0 replies; 7+ messages in thread
From: Nate Kent @ 2026-06-18  9:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: Nate Kent

Fixes Yocto Bug #16321

In version 1.9.17p2, the line that the recipe uses to add the 'wheel'
group to the sudoers file does not exist. This updates the sed usage to
the actual line in question.

Upstream-Status: Innappropriate [oe specific]
Signed-off-by: Nate Kent <nathan@otiv.ai>
---
 meta/recipes-extended/sudo/sudo_1.9.17p2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/sudo/sudo_1.9.17p2.bb b/meta/recipes-extended/sudo/sudo_1.9.17p2.bb
index 7dfa0cef6c..489c0db09d 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.17p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.17p2.bb
@@ -37,7 +37,7 @@ do_install:append () {
 		install -D -m 644 ${UNPACKDIR}/sudo.pam ${D}/${sysconfdir}/pam.d/sudo
 		if ${@bb.utils.contains('PACKAGECONFIG', 'pam-wheel', 'true', 'false', d)} ; then
 			echo 'auth       required     pam_wheel.so use_uid' >>${D}${sysconfdir}/pam.d/sudo
-			sed -i 's/# \(%wheel ALL=(ALL) ALL\)/\1/' ${D}${sysconfdir}/sudoers
+			sed -i 's/# \(%wheel ALL=(ALL:ALL) ALL\)/\1/' ${D}${sysconfdir}/sudoers
 		fi
 	fi
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-06-18 12:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18 10:28 [PATCH] Update sed usage by 'pam-wheel' for sudoers Nate Kent
2026-06-18 10:45 ` Patchtest results for " patchtest
2026-06-18 11:14 ` Siva Balasubramanian
2026-06-18 11:21   ` Nate Kent
2026-06-18 11:35     ` Siva Kumar Balasubramanian
2026-06-18 11:50 ` [PATCH v2] sudo: fix pam-wheel sed for sudo 1.9.17p2 sudoers Nate Kent
  -- strict thread matches above, loose matches on Subject: below --
2026-06-18  9:59 [PATCH] Update sed usage by 'pam-wheel' for sudoers Nate Kent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox