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=e8f0b931c818306741178888bf08dc1ade4a03cd;hpb=cb364624e02d87b8366136d39107261dbae8b5b5;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 e8f0b93..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 @@ -580,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() {