diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/rootfs-postcommands.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass index c194b264e0..3d605db783 100644 --- a/meta/classes/rootfs-postcommands.bbclass +++ b/meta/classes/rootfs-postcommands.bbclass | |||
@@ -156,7 +156,10 @@ ssh_allow_empty_password () { | |||
156 | fi | 156 | fi |
157 | 157 | ||
158 | if [ -d ${IMAGE_ROOTFS}${sysconfdir}/pam.d ] ; then | 158 | if [ -d ${IMAGE_ROOTFS}${sysconfdir}/pam.d ] ; then |
159 | sed -i 's/nullok_secure/nullok/' ${IMAGE_ROOTFS}${sysconfdir}/pam.d/* | 159 | for f in `find ${IMAGE_ROOTFS}${sysconfdir}/pam.d/* -type f -exec test -e {} \; -print` |
160 | do | ||
161 | sed -i 's/nullok_secure/nullok/' $f | ||
162 | done | ||
160 | fi | 163 | fi |
161 | } | 164 | } |
162 | 165 | ||