diff --git a/linux_os/guide/system/accounts/accounts-restrictions/password_storage/no_empty_passwords/bash/shared.sh b/linux_os/guide/system/accounts/accounts-restrictions/password_storage/no_empty_passwords/bash/shared.sh index 6b4e3104472..9c097499f77 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/password_storage/no_empty_passwords/bash/shared.sh +++ b/linux_os/guide/system/accounts/accounts-restrictions/password_storage/no_empty_passwords/bash/shared.sh @@ -12,7 +12,7 @@ for FILE in ${NULLOK_FILES}; do done {{% elif 'ubuntu' in product %}} {{{ bash_pam_unix_enable() }}} -config_file="/usr/share/pam-configs/unix" +config_file="/usr/share/pam-configs/cac_unix" sed -i -E '/^Password:/,/^[^[:space:]]/ { /pam_unix\.so/ { s/\s*nullok//g