Include pam-localuser.
Include pam-localuser to the rootfs file system. This will be
used to do pam_authenticate restriction based on group ownership
for localusers and ignore it for ldap users.
Tested:
Along with pam-webserver changes with authenticate required, verified
that local users belonging to redfish group are only allowed to login to
bmcweb.
Change-Id: I35e3e13c70ae0830820a3f97e1b2f944ba65464a
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/recipes-extended/pam/libpam_%.bbappend b/recipes-extended/pam/libpam_%.bbappend
index 07dd548..8ed05f6 100644
--- a/recipes-extended/pam/libpam_%.bbappend
+++ b/recipes-extended/pam/libpam_%.bbappend
@@ -10,6 +10,7 @@
${MLPREFIX}pam-plugin-tally2-${libpam_suffix} \
${MLPREFIX}pam-plugin-pwhistory-${libpam_suffix} \
${MLPREFIX}pam-plugin-succeed-if-${libpam_suffix} \
+ ${MLPREFIX}pam-plugin-localuser-${libpam_suffix} \
"
do_install_append() {