diff --git a/shared/macros/10-bash.jinja b/shared/macros/10-bash.jinja index 82ac231dfac..460dfdfdd4a 100644 --- a/shared/macros/10-bash.jinja +++ b/shared/macros/10-bash.jinja @@ -913,6 +913,7 @@ if [ ! -f "$conf_path"/"$conf_name" ]; then if [ -f "$conf_path"/unix ]; then if grep -q "$(md5sum "$conf_path"/unix | cut -d ' ' -f 1)" /var/lib/dpkg/info/libpam-runtime.md5sums;then cp "$conf_path"/unix "$conf_path"/"$conf_name" + sed '/Priority: 256/d' "$conf_path"/"$conf_name" sed -i '/Default: yes/a Priority: 257\ Conflicts: unix' "$conf_path"/"$conf_name" DEBIAN_FRONTEND=noninteractive pam-auth-update