file://syslog-ng-config-systemd-service.patch \
file://syslog-ng-conf-replace-match-with-message.patch \
file://lighttpd-init-script-chroot.patch \
+ file://nfsserver-remvoe-the-f-option-for-rpc.mountd.patch \
+ file://nfsserver.service-add-dependency-on-rpcbind.service.patch \
"
do_configure () {
cp -f ${datadir}/starlingx/stx.system-auth ${sysconfdir}/pam.d/system-auth
cp -f ${datadir}/starlingx/sshd.pam ${sysconfdir}/pam.d/sshd
+
+ sed -i -e '/password .*pam_ldap.so/,/session .*revoke/ s/^$/password required pam_deny.so\n/g' \
+ ${sysconfdir}/pam.d/system-auth
}
pkg_postinst_ontarget_rabbitmq-server-config() {