This is a pam module that does simple password strength checking. The
features are mentioned in the README and in the manual page. A sample
configuration already exists in /etc/pam.d/passwd, and is not enabled by
default.
pam_nologin \
pam_opie \
pam_opieaccess \
+ pam_passwdqc \
pam_permit \
pam_radius \
pam_rhosts \
--- /dev/null
+CONTRIBDIR= ${.CURDIR}/../../../contrib/pam_passwdqc
+.PATH: ${CONTRIBDIR}
+
+LIB= pam_passwdqc
+SRCS= pam_passwdqc.c passwdqc_check.c passwdqc_random.c wordset_4k.c
+MAN= pam_passwdqc.8
+
+CFLAGS+= -I${CONTRIBDIR}
+WARNS?= 0
+
+DPADD= ${LIBCRYPT}
+LDADD= -lcrypt
+
+.include <bsd.lib.mk>