mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 15:31:05 +02:00
Merge pull request #1737 from crawford/length
sys-apps/shadow: increase minimum password length
This commit is contained in:
commit
989387a2a2
@ -123,6 +123,9 @@ src_install() {
|
|||||||
set_login_opt CRACKLIB_DICTPATH /usr/$(get_libdir)/cracklib_dict
|
set_login_opt CRACKLIB_DICTPATH /usr/$(get_libdir)/cracklib_dict
|
||||||
set_login_opt LOGIN_RETRIES 3
|
set_login_opt LOGIN_RETRIES 3
|
||||||
set_login_opt ENCRYPT_METHOD SHA512
|
set_login_opt ENCRYPT_METHOD SHA512
|
||||||
|
|
||||||
|
# CoreOS: increase the minimum password length to eight
|
||||||
|
set_login_opt PASS_MIN_LEN 8
|
||||||
else
|
else
|
||||||
dopamd "${FILESDIR}"/pam.d-include/shadow
|
dopamd "${FILESDIR}"/pam.d-include/shadow
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user