X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-core%2Fstx-config-files%2Fconfig-files_1.0.0.bb;h=82d1092c67c50e75063fa7debdbd7d0cda7cbabf;hb=refs%2Fchanges%2F35%2F5035%2F1;hp=875649dce16076cff85c3fa3c62816be0ff0b373;hpb=f11a011952370b983d9126645d6dcf045cd4eab1;p=pti%2Frtp.git diff --git a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb index 875649d..82d1092 100644 --- a/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb +++ b/meta-stx/recipes-core/stx-config-files/config-files_1.0.0.bb @@ -51,6 +51,8 @@ SRC_URI = " \ 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 () { @@ -578,6 +580,9 @@ pkg_postinst_ontarget_pam-config() { 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() {