diff options
| author | haiqing <haiqing.bai@windriver.com> | 2020-06-15 11:05:57 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-16 23:39:28 +0100 |
| commit | 5d1e4b1c55ad05620a1c18782beb7cceccd38a0c (patch) | |
| tree | 8d8f384846fc2143e1d0cd7c3da09f9c2e4ce787 /meta/recipes-extended/pam | |
| parent | 8f8cd4dbab8d9e5ec9fd5fd32d06ba3ce7896219 (diff) | |
| download | poky-5d1e4b1c55ad05620a1c18782beb7cceccd38a0c.tar.gz | |
libpam: Remove option 'obscure' from common-password
libpam does not support 'obscure' checks to password,
there are the same checks in pam_cracklib module.
And this fix can remove the below error message while
updating password with 'passwd':
pam_unix(passwd:chauthtok):unrecognized option[obscure]
(From OE-Core rev: ea761dbac90be77797308666fe1586b05e3df824)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/pam')
| -rw-r--r-- | meta/recipes-extended/pam/libpam/pam.d/common-password | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-extended/pam/libpam/pam.d/common-password b/meta/recipes-extended/pam/libpam/pam.d/common-password index 3896057328..52478dae77 100644 --- a/meta/recipes-extended/pam/libpam/pam.d/common-password +++ b/meta/recipes-extended/pam/libpam/pam.d/common-password | |||
| @@ -10,13 +10,10 @@ | |||
| 10 | # The "sha512" option enables salted SHA512 passwords. Without this option, | 10 | # The "sha512" option enables salted SHA512 passwords. Without this option, |
| 11 | # the default is Unix crypt. Prior releases used the option "md5". | 11 | # the default is Unix crypt. Prior releases used the option "md5". |
| 12 | # | 12 | # |
| 13 | # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in | ||
| 14 | # login.defs. | ||
| 15 | # | ||
| 16 | # See the pam_unix manpage for other options. | 13 | # See the pam_unix manpage for other options. |
| 17 | 14 | ||
| 18 | # here are the per-package modules (the "Primary" block) | 15 | # here are the per-package modules (the "Primary" block) |
| 19 | password [success=1 default=ignore] pam_unix.so obscure sha512 | 16 | password [success=1 default=ignore] pam_unix.so sha512 |
| 20 | # here's the fallback if no module succeeds | 17 | # here's the fallback if no module succeeds |
| 21 | password requisite pam_deny.so | 18 | password requisite pam_deny.so |
| 22 | # prime the stack with a positive return value if there isn't one already; | 19 | # prime the stack with a positive return value if there isn't one already; |
