diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-03-05 23:03:45 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-03-05 23:03:45 +0100 |
commit | 1ffd18eae7b58b82f569f28ec1b8bc0793344af6 (patch) | |
tree | a9f6a89b8db9e55778a1e430971ed36939c8e5ae | |
parent | Use pam_nologin in account chain when supported. (diff) | |
download | pambase-1ffd18eae7b58b82f569f28ec1b8bc0793344af6.tar.gz pambase-1ffd18eae7b58b82f569f28ec1b8bc0793344af6.tar.bz2 pambase-1ffd18eae7b58b82f569f28ec1b8bc0793344af6.zip |
Add optional support for pam_passwdqc.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | system-auth.in | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -20,6 +20,10 @@ ifeq "$(CRACKLIB)" "yes" PAMFLAGS += -DHAVE_CRACKLIB=1 endif +ifeq "$(PASSWDQC)" "yes" +PAMFLAGS += -DHAVE_PASSWDQC +endif + ifeq "$(CONSOLEKIT)" "yes" PAMFLAGS += -DHAVE_CONSOLEKIT endif diff --git a/system-auth.in b/system-auth.in index 297e681..b5b84f3 100644 --- a/system-auth.in +++ b/system-auth.in @@ -9,6 +9,9 @@ account required pam_unix.so DEBUG #if HAVE_CRACKLIB password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3 DEBUG #endif +#if HAVE_PASSWDQC +password required pam_passwdqc.so min=8,8,8,8,8 retry=3 +#endif password sufficient pam_unix.so try_first_pass AUTHTOK nullok UNIX_EXTENDED_ENCRYPTION DEBUG password required pam_deny.so |