From 7a46ca79b18527a56de470fcaaf95c870c097cf6 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 1 Aug 2018 14:46:38 +0800 Subject: sudo: add PACKAGECONFIG for pam-wheel The pam_wheel PAM module is used to enforce the so-called wheel group. By default it permits root access to the system if the applicant user is a member of the wheel group. Add PACKAGECONFIG to enable pam_wheel module for sudo. Signed-off-by: Yi Zhao Signed-off-by: Richard Purdie --- meta/recipes-extended/sudo/sudo.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/sudo/sudo.inc') diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index 6e57669a01..69dccde592 100644 --- a/meta/recipes-extended/sudo/sudo.inc +++ b/meta/recipes-extended/sudo/sudo.inc @@ -19,6 +19,7 @@ inherit autotools PACKAGECONFIG ??= "" PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" +PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" CONFFILES_${PN} = "${sysconfdir}/sudoers" -- cgit 1.2.3-korg