summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/rootfs-postcommands.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass
index c92df7b0de..e7999d448a 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -158,7 +158,10 @@ ssh_allow_empty_password () {
158 fi 158 fi
159 159
160 if [ -d ${IMAGE_ROOTFS}${sysconfdir}/pam.d ] ; then 160 if [ -d ${IMAGE_ROOTFS}${sysconfdir}/pam.d ] ; then
161 sed -i 's/nullok_secure/nullok/' ${IMAGE_ROOTFS}${sysconfdir}/pam.d/* 161 for f in `find ${IMAGE_ROOTFS}${sysconfdir}/pam.d/* -type f -exec test -e {} \; -print`
162 do
163 sed -i 's/nullok_secure/nullok/' $f
164 done
162 fi 165 fi
163} 166}
164 167