Merge pull request #1737 from crawford/length

sys-apps/shadow: increase minimum password length
This commit is contained in:
Alex Crawford 2016-01-21 16:44:00 -08:00
commit 989387a2a2

View File

@ -123,6 +123,9 @@ src_install() {
set_login_opt CRACKLIB_DICTPATH /usr/$(get_libdir)/cracklib_dict
set_login_opt LOGIN_RETRIES 3
set_login_opt ENCRYPT_METHOD SHA512
# CoreOS: increase the minimum password length to eight
set_login_opt PASS_MIN_LEN 8
else
dopamd "${FILESDIR}"/pam.d-include/shadow