PAM-IPMI module - stores special users password
Special group('ipmi') user's passwords are stored
by pam_ipmicheck and pam_ipmisave module.
pam_ipmicheck will check password restrictions
for the special group user and pam_ipmisave
will update the password in special password
file in encrypted form.
Note: These modules still needs pam_unix support
to store the hashed password and work along
with pam_unix in stacked module concept
Change-Id: Id959107cae1819ff622e5993cd276075bcb92d2a
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..c979d72
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,12 @@
+CLEANFILES = *~
+
+securelibdir = /lib/security
+securelib_LTLIBRARIES = pam_ipmicheck.la pam_ipmisave.la
+
+pam_ipmicheck_la_SOURCES = src/pam_ipmicheck/pam_ipmicheck.c
+pam_ipmicheck_la_LDFLAGS = -module -avoid-version -shared
+pam_ipmicheck_LDADD = $(LIBPAM) $(LIBCRYPT)
+
+pam_ipmisave_la_SOURCES = src/pam_ipmisave/pam_ipmisave.c
+pam_ipmisave_la_LDFLAGS = -module -avoid-version -shared -lssl
+pam_ipmisave_LDADD = $(LIBPAM) $(LIBCRYPT)