diff options
author | John Klug <john.klug@multitech.com> | 2018-04-25 12:38:22 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-04-25 12:38:22 -0500 |
commit | 6382b9ae1b91d45076c12586ffd5151bf0e5a134 (patch) | |
tree | d3fc8df96d13a06cddb08a988f5d97a3cd17b9b3 /recipes-support/libpwquality/files/pam.configure | |
parent | 455cc777331b3432f477df54ea8d0419c11b4737 (diff) | |
download | meta-mlinux-6382b9ae1b91d45076c12586ffd5151bf0e5a134.tar.gz meta-mlinux-6382b9ae1b91d45076c12586ffd5151bf0e5a134.tar.bz2 meta-mlinux-6382b9ae1b91d45076c12586ffd5151bf0e5a134.zip |
Add libpwquality to mLinux4 for commisioning
Diffstat (limited to 'recipes-support/libpwquality/files/pam.configure')
-rw-r--r-- | recipes-support/libpwquality/files/pam.configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-support/libpwquality/files/pam.configure b/recipes-support/libpwquality/files/pam.configure new file mode 100644 index 0000000..1506d4f --- /dev/null +++ b/recipes-support/libpwquality/files/pam.configure @@ -0,0 +1,13 @@ +diff -Naru orig/etc/pam.d/common-password new/etc/pam.d/common-password +--- orig/etc/pam.d/common-password 2018-04-25 10:26:55.805688250 -0500 ++++ new/etc/pam.d/common-password 2018-04-25 10:27:48.041686704 -0500 +@@ -16,7 +16,8 @@ + # See the pam_unix manpage for other options. + + # here are the per-package modules (the "Primary" block) +-password [success=1 default=ignore] pam_unix.so obscure sha512 ++password requisite pam_pwquality.so retry=3 ++password [success=1 default=ignore] pam_unix.so obscure use_authok try_frist_pass sha512 + # here's the fallback if no module succeeds + password requisite pam_deny.so + # prime the stack with a positive return value if there isn't one already; |