summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/sudo.inc
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2018-08-01 14:46:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-02 09:30:11 +0100
commit482d34825d9176f31187f2d91ecb3cf286ade12d (patch)
tree038474923964d35e60dd651b3ddffb09764b8656 /meta/recipes-extended/sudo/sudo.inc
parent67892cc11216ef272fc9c584530d1f50b62d39d2 (diff)
downloadpoky-482d34825d9176f31187f2d91ecb3cf286ade12d.tar.gz
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. (From OE-Core rev: 7a46ca79b18527a56de470fcaaf95c870c097cf6) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sudo/sudo.inc')
-rw-r--r--meta/recipes-extended/sudo/sudo.inc1
1 files changed, 1 insertions, 0 deletions
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
19 19
20PACKAGECONFIG ??= "" 20PACKAGECONFIG ??= ""
21PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" 21PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
22PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel"
22 23
23CONFFILES_${PN} = "${sysconfdir}/sudoers" 24CONFFILES_${PN} = "${sysconfdir}/sudoers"
24 25