diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9a04288ba6..3436624c9d 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -298,6 +298,10 @@ ssh_allow_empty_password () { | |||
298 | printf '\nDROPBEAR_EXTRA_ARGS="-B"\n' >> ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear | 298 | printf '\nDROPBEAR_EXTRA_ARGS="-B"\n' >> ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear |
299 | fi | 299 | fi |
300 | fi | 300 | fi |
301 | |||
302 | if [ -d ${IMAGE_ROOTFS}${sysconfdir}/pam.d ] ; then | ||
303 | sed -i 's/nullok_secure/nullok/' ${IMAGE_ROOTFS}${sysconfdir}/pam.d/* | ||
304 | fi | ||
301 | } | 305 | } |
302 | 306 | ||
303 | # Enable postinst logging if debug-tweaks is enabled | 307 | # Enable postinst logging if debug-tweaks is enabled |