diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2018-08-01 14:46:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-02 09:30:11 +0100 |
commit | 482d34825d9176f31187f2d91ecb3cf286ade12d (patch) | |
tree | 038474923964d35e60dd651b3ddffb09764b8656 /meta/recipes-extended/sudo/sudo.inc | |
parent | 67892cc11216ef272fc9c584530d1f50b62d39d2 (diff) | |
download | poky-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.inc | 1 |
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 | ||
20 | PACKAGECONFIG ??= "" | 20 | PACKAGECONFIG ??= "" |
21 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | 21 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" |
22 | PACKAGECONFIG[pam-wheel] = ",,,pam-plugin-wheel" | ||
22 | 23 | ||
23 | CONFFILES_${PN} = "${sysconfdir}/sudoers" | 24 | CONFFILES_${PN} = "${sysconfdir}/sudoers" |
24 | 25 | ||