enable PAM

tested dropbear according to the PAM integration yocto page
dropbear correctly allows or disallows ssh access for simple cases

resolves openbmc/openbmc#545

Change-Id: I6af6e96f404b524139058c792365b77f0b099929
Signed-off-by: Edward A. James <eajames@us.ibm.com>
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass
index 9dac71b..3b4ab56 100644
--- a/meta-phosphor/classes/obmc-phosphor-image.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass
@@ -44,6 +44,7 @@
         screen \
         inarp \
         obmc-console \
+        pam-plugin-access \
         ${OBMC_IMAGE_EXTRA_INSTALL} \
         "
 
diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
index 837269a..97667ea 100644
--- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
+++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
@@ -13,7 +13,7 @@
 VIRTUAL-RUNTIME_keymaps = ""
 
 # Phosphor OpenBMC uses systemd and udev
-DISTRO_FEATURES_append = " systemd"
+DISTRO_FEATURES_append = " systemd pam"
 VIRTUAL-RUNTIME_init_manager = "systemd"
 DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
 VIRTUAL-RUNTIME_initscripts = ""